I'm a complete beginner on MQL4 but using what ive learnt so far, i've built an EA which puts a strategy ive developed into practice.
However, after figuring out how to only trade once per bar, I realised that the trade only opens at the beginning of the candle eg. at 10:00 rather than
when my trade condition is satisfied.
How to I ensure the trade only opens when the trade condition is satisfied and not at the candle open tick.
Thanks in advance.