Every chart has an unique identification number. You can know this number through ChartID() function. Inside a chart there is, at least, one window (main chart window, whose number is always 0). If you attach indicators that work in separate windows, this chart can contain several subwindows (whose numbers start from 1, 2, 3..... etc). It's all. Regards.

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
Hi,
please, can somebody explain what is what in from the mql5 point of view? A lot of elements/objects need to know this params, I'm wondering how to use them to produce reusable code.
Thanks a lot,
Alex