Error when call 2 times CopyBuffer()
y = CopyBuffer(handle2, index2, 0, 25, iMABuffer2);
Wrong parameter.
By setting index1= index2 = 0 (same indicator buffer number) it's ok
y = CopyBuffer(handle2, index2, 0, 25, iMABuffer2);
Wrong parameter.
By setting index1= index2 = 0 (same indicator buffer number) it's ok
You agree to website policy and terms of use
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