Did you read documentation? See Note section
it's recommended to get the indicators handles in function OnInit()
See also Timeseries and Indicators Access
In your case indicator data not get ready

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,
I'm trying to do something VERY simple. All I'm trying to do is get the values of an MA indicator:
However, CopyBuffer will return -1 every time... all the values are 0...
I can't figure out why the indicator buffer will not copy?