see IndicatorBuffers function description and it's link "indicator_buffers".
see also "Features of Custom Indicators Creation"
see also "Features of Custom Indicators Creation"
Ahh okay! I think I misunderstood another post here on the forum then.
Markus
Markus
![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
Below is a code that would use 10 but only 8 show in the indicator window (there should be two more red lines on level -100 and -200 in the window for HistoLevelM1 and M2).
(I know that I could use regular levels, but I want them colored, hence the implementation as indicator buffers).
Markus