Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
first , please forgive my poor english .
my situation is as follows :
in X.mq5 , i declare an indictator buffer :
double ExtOpenBuffer[];
and set this buffer :
SetIndexBuffer(0,ExtOpenBuffer,INDICATOR_DATA);
at last , i pass ExtOpenBuffer into a function exported from a dll :
SetBuffer(double& buffer[] , int bufferIndex) ; // exported from a dll .
i found buffer is NULL in dll .
BUT , to my confused , when i pass it to another function defined in Y.mqh :
Add(double& buffer[] , int pos){buffer[pos] = 1 ; }
This SUCCEDD .
so , i fell puzzled for this ........
thanks in advance .