Download MetaTrader 5

IndicatorCounted () Error

To add comments, please log in or register
mob
5
mob  

Hi....

I use IndicatorCounted () Function  (mql4) .

but it return (-1) (counted_bars<0)  every time.....what is wrong?

where is problem?

Keith Watford
Moderator
9980
Keith Watford  

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. 

To add comments, please log in or register