Maximum of 8 buffers is out of date.
I can't remember what the maximum is now, but I think more than 50. Maybe someone else knows exactly.
You should have no problems with 16.
Custom Indicators can contain up to 512 indicator buffers.
Technical Indicators - Reference on algorithmic/automated trading language for MetaTrader 5
IndicatorBuffers - Custom Indicators - MQL4 Reference
Technical Indicators - Reference on algorithmic/automated trading language for MetaTrader 5
IndicatorBuffers - Custom Indicators - MQL4 Reference
Keith Watford:
Thanks
Maximum of 8 buffers is out of date.
I can't remember what the maximum is now, but I think more than 50. Maybe someone else knows exactly.
You should have no problems with 16.
William Roeder:
Custom Indicators can contain up to 512 indicator buffers.
Technical Indicators - Reference on algorithmic/automated trading language for MetaTrader 5
IndicatorBuffers - Custom Indicators - MQL4 Reference
Thanks for the links. Indeed the mql4 tutorial is outdated.
Custom Indicators can contain up to 512 indicator buffers.
Technical Indicators - Reference on algorithmic/automated trading language for MetaTrader 5
IndicatorBuffers - Custom Indicators - MQL4 Reference
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
I'm trying to build a custom indicator.I'm a newbie in mql4 developpement. I read https://book.mql4.com/samples/icustom and I know MQL4 allow drawing uop to 8 indicator lines.
I used 4 buffers to colors the candles. Now I'd like to display at least 12 lines more but It doesn't work. I know it's possible because they did it - <Link to market product deleted>