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
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 .