You are right, I have not answered your original question.
So let us assume that you have a Bollinger indicator BollingerIND that uses a moving average and you want to call this moving average from within your standard deviation indicator StdDevIND. That is pretty simple, just call it:
I had to modify the original Bollinger Band indicator, because for unknown reasons for each of the properties there is a line preventing serialization, so the StdDevIND indicator could not be exported.
Hallo Fat Tails
thanks again for your last .cs - files.
this thread become more and more interesting for me....
checking your files gives me some new ideas and questions about visability and accessibility of DataSeries
Your last Indicator (StdDevIND) would be perfect, if I could put the desired Moving-Average-Dataseries in the Statement, which calls the modified StdDev. Something like:
double StdDevValue = StdDevInd(maseries, period);
For my customized Bollinger-Band I use a special Method for that purpose:
Unfortunaly the StdDev shows unexpected behavior:
The Chart shows the "StdDev-Bands" for a SMA (the orange-one) and a "faster" MA (the yellow-one).
I suppose, that the differences between Datas and the MA becomes smaller, by using a faster MA. The opposite is true!
It is nice to playing around with that new anaBollinger - but I personaly think, that the SMA is more or less the best choice for playing with the Bands.