DojiSan:
Hello,
Is there a function that counts the number of bars that is being shown on the current chart? Thank you.
Try to use these functions: ChartSetInteger() and ChartGetInteger().
Example
long ChartBarsCount = ChartGetInteger(Chart_ID,CHART_VISIBLE_BARS);
Got it .. thanks

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
Hello,
Is there a function that counts the number of bars that is being shown on the current chart? Thank you.