Download MetaTrader 5
To add comments, please log in or register
Millions of traders download codes from MQL5 library. Share your app with them!
mob
5
mob 2015.12.18 07:36 

Hi....

I use IndicatorCounted () Function  (mql4) .

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

where is problem?

Keith Watford
Moderator
9544
Keith Watford 2015.12.18 08:26  

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