y = CopyBuffer(handle2, index2, 0, 25, iMABuffer2);
Wrong parameter.
By setting index1= index2 = 0 (same indicator buffer number) it's ok
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 ,
This custom indicator should draw 7 & 20 period SMA
If first call on CopyBuffer() works the second one return -1.
With error number 4806 (ERR_INDICATOR_DATA_NOT_FOUND : Requested data not found)
How to resolve it