PDA

View Full Version : Code to auto-execute a transaction


rdsimmons01
02-29-2008, 02:33 PM
I'm looking for a little technical guidance...

I would like to explore the possibility of writing some code (or having some code written by a developer) to execute a transaction based on data from an indicator? Say for example that I want to automatically execute a buy order when the CCI for a particular pair hits 100. What level of effort would be required for this?

Also, if I should post this in a particualr threat please let me know. I'm new to the board.

Thanks in advance,
Dale Simmons

FXCM Help
03-03-2008, 10:14 AM
We recommend that the first step would be to obtain output from the indicator. This could be done by either capturing outputs from an indicator function or to program the indicator function so as to send data to a function.

This function would then analyze this data with a simple "if" condition that when a condition is reached it would trigger an open or a close trade with specific trading parameters that you have chosen.