How to prevent from opening new order in same candle

To add comments, please log in or register
babigaf
45
babigaf  
Hi fellow traders.
I am trying to write an Expert and saying under specific circumstances, place an order and take profit or stop loss.
But sometimes it opens and closes under the same candle.
And because in this candle the situations are still valid, it opens a new trade.
How can I say if it already opened an order in this candle, don't open a new one again after closing the previous one?


William Roeder
18925
William Roeder  
To add comments, please log in or register