Are you using it in an indicator?
How do you know it returns -1
Show your code and somebody may be able to help you.

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....
I use IndicatorCounted () Function (mql4) .
but it return (-1) (counted_bars<0) every time.....what is wrong?
where is problem?