I am stuck trying to make my EA trade only once per bar. The complication is that I have 3 timeframes in the EA. I want to make sure that for each 1 hour bar, there is only one trade. On the higher timeframes, there can be multiple trades if their conditions remain true. How would it be best to specify the execute on 1 hour bar only, leave the Daily, 4 Hour conditions untouched?
I am stuck trying to make my EA trade only once per bar. The complication is that I have 3 timeframes in the EA. I want to make sure that for each 1 hour bar, there is only one trade. On the higher timeframes, there can be multiple trades if their conditions remain true. How would it be best to specify the execute on 1 hour bar only, leave the Daily, 4 Hour conditions untouched?
here is my code: