Handle of a Buffer?

 

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?

 
See example in the Section Price constants

 
Rosh :
See example in the Section Price constants


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.

Reason: