EA is buying when candle hasn't formed yet help

To add comments, please log in or register
John Brown
28
John Brown  

***

how can i only buy @ the close not when the candle is still forming?

 trade.Buy(1.00,NULL,Ask,Ask-2.5 , Ask+3.5,"buying");


***

Marco vd Heijden
Moderator
13045
Marco vd Heijden  

Buy when the bar open time changes.

Otherwise post the code.

To add comments, please log in or register