I am sorry, but how is it related to my problem?
I'll post the example here:
I have a buffer that contains some calculations:
for (int i = 0; i < limit; i++)
bbMacd[i] = MABuff1[i] - MABuff2[i];
The I want to calculate a MA on the data from this buffer:
myMA = iMA(NULL, 0, Period, 0, MODE_EMA, bbMacd);
Obviously, I can't pass the buffer directly, I need its handle.
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
Is it possible to get a handle of a buffer?
I need the handle to use it in the indicator calls (like iMA, iStdDev).
Perhaps, it's possible to calculate and indicator over an array of day in some other way?