Why do I write for loops in reverse? MQL4 and MQL5

[YTLoad url=u9qFvriLQnU]

You often see in my videos that I write for loops to count down from the end to zero.

It might seem more natural to count up from zero but i have reasons for writing loops in this way and you need to understand how for loops work and impacts on code performance.

In this short video I explain how the structure of a for loop works and then why I write loops as I do.

If you are looking for a broker for MT5 or MT4 consider supporting our channel by using our broker by following one of these links.
MT4: https://www.orchardforex.com/download-mt4
MT5: https://www.orchardforex.com/download-mt5

Discord: https://discord.gg/fuyJW55kx5
Twitter: https://twitter.com/OrchardForex
Telegram: https://t.me/orchardforex

Leave a Comment

Scroll to Top