ArraySetAsSeries

 
Hi Expert Guys,

I need help.
In my indicator I would like to store a value into both an indicator buffer and an array.
Somehow I am unable to get expected results from setting an array as "ArraySetAsSeries". May be my assumption is wrong.
Should I be able to do the following?
double IndicatorBuffer[]
string ArrayBuffer[100]
ArraySetAsSeries(ArrayBuffer, true);
-------------------------

int start() 
{
i=0;  //current bar
// compute values for indicator buffers for each current bar.

IndicatorBuffer[i] = Close[i];
ArrayBuffer[i] ="OK";
}


The question is: Should the ArrayBuffer sift left as is the IndicatorBuffer?.. or should I write some routine to do that.
-Stan

 
Hello:

I have the same trouble but with
iEnvelopes and iEnvelopesOnArray functions

I do not know what to do
Reason: