Download MetaTrader 5

How to look several bars back.

To add comments, please log in or register
Having troubles understanding the code? Articles can help you!
ForexTrader17
1041
ForexTrader17 2015.03.25 19:10 

If I want an EA to look back say 50 or 100 bars back for divergence, is it possible? Or do I have to compare the last closed bar with each of the prior 49 bars?

Thank you. 

To add comments, please log in or register