Alain Verleyen:
That's what is happening when nothing is checked.
- Is your handle valid ?
- Is CopyBuffer() returning an error ? How much data were copied ?
The handle is (iStochastic in OnInit), the CopyBuffer in OnTick (or OnTimer).
Please read the documentation !
Is there no way to get the values at OnInit()?
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
Here is the code and the output of the Strategy Tester:
The output is here:
I am confused. As previously I was getting correct values but now the values are all garbage. Kindly, help me.