Forum

For loop in an EA

I wrote an EA where I use the maximum and minimum values of a currency pair. To do this I have to calculate the maximum and minimum values through a for loop that analyzes the previous data. The problem is that with the MT4 platform the for loop doesn't give me more than 1000 items. Can I set some