only one order in one candle.

i want my ea open order in 5m and it can't open order again the same candle, if it was open an order in this candle. how can i do this ? and what can i write for this subject to the search button ??
Remember the time of the candle in a static/global. If it's the same as the current candle, don't open another.
yilmazkahya:
i want my ea open order in 5m and it can't open order again the same candle, if it was open an order in this candle. how can i do this ? and what can i write for this subject to the search button ??
Search for "once per bar" and sort "by date" by checking/ticking the box . . . then click search
RaptorUK:
Search for "once per bar" and sort "by date" by checking/ticking the box . . . then click search


thank u i try this n fixed the problem. you are very good :)