Denisx / Publications
Forum
How to get the High/Low of the last 10 bars?
I need to create an EA that checks on every tick if there is a gap on every pair. Im using for loop to loop 10 times and i'm using double current_high = iHigh(Symbols[j], PERIOD_M5, i); double current_low = iLow(Symbols[j], PERIOD_M5, i); double previous_high = iHigh(Symbols[j], PERIOD_M5, i + 1);