Quote:
|
Originally Posted by huhenyo
Hi all,
I'm not a programmer, but I've found what I think to be a good, very simple system and would like if one of your programmer dudes could make an EA for it. All the EA will do is sell when the SteopMA_Stoch_v1 yellow line crosses to be below the blue line, and buy when the yellow crosss to the positive side of the blue line. It will need to close one position and open the next as close to the same time as possible. Thus, it always has an open position. When you sell on the cross to end a long position, you sell to open a short position as soon as possible. Also, when you buy to end a short position, you would buy to start a long position right after. Both the close and the start of a position happen with the cross.
|
huhenyo
I have no time to code this for you but here is a suggestion about the opening and closing of the orders. for the one that will code it.
To close one and open at the exact time and price with no gap in between the two orders, try this; Lets assume your long one lot. On the next down cross, short two lots and then close the long order with one of the short orders, later using the ' OrderCloseBy() ' function. Leaving you with your short lot. That will assure you that theres no price or time gaps between your change over of direction.
The CockeyedCowboy