Filter openning positions once one trade executed
-
lets say im applying a 5m timeframes ... conditions met and one position openned (once per bar) ...
question is >> when any trades opens, i dont want EA to execute any trades after three bars for example because condition may still active for the next bar after execution
I tried (once per minute) but it filter whole cycle to open trade every specify minutes
the last try is what shown at attached picture .. is it correct ?
thanks for your time and assistance

-
store the time once you open a trade and then check the difference as discussed here:
https://fxdreema.com/forum/topic/11906/counting-bars-question
-
@bk7 thanks for information .. it will help alot in future
i tested the attached pic concept and works >> Every n bars (3) .. doesnt execute any trades unless (3) bars passed after the previous conditions occured
thanks again