Visible bars counter?
Hi
The function int WindowBarsPerChart() returns the number of bars visible on the chart.
You can search for it in the documentation here:
https://docs.mql4.com/search/WindowBarsPerChart
Cheers
Jellybean
Hi
The function int WindowBarsPerChart() returns the number of bars visible on the chart.
You can search for it in the documentation here:
https://docs.mql4.com/search/WindowBarsPerChart
Cheers
Jellybean
Shit, I was sure to check all of the stuff before asked the question...
Thanks Jellybean!
cornelius
Hi,
To have bar counter is very simple. Something like:
Comment("Bar count on the current symbol is ",iBars(NULL,0));
But it shows at some timeframes over 2000 bars.
How to count the bars visible on the chart?
cornelius