![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
MQL's first anonymous functions. ;)
Romantically beautiful and useful to me, thnx Fxsaber
I I like it!
What do you guys think about the implementation of NONE(type)?
What do you guys think about the implementation of NONE(type)?
I do not use this opportunity. But your implementation looks fine.
I I like it!
What do you guys think about the implementation of NONE(type)?
Instead of:
Pretty nice. But is there a reason for using the merge operator in the macro?
Instead of:
Reason:
Форум по трейдингу, автоматическим торговым системам и тестированию торговых стратегий
Обсуждение статьи "LifeHack для трейдера: замешиваем ForEach на дефайнах (#define)"
fxsaber, 2018.02.15 08:40
Reason:
I try to avoid static classes, would rather the plain #define if any.
The problem with using plain #defines is that they won't work with templates like the class version does. For example, if we were to templatize the ring buffer class then all we'd have to do is the following (snippet)
The problem with using plain #defines is that they won't work with templates like the class version does. For example, if we were to templatize the ring buffer class then all we'd have to do is the following (snippet)