I want to calculate the StdDev for a customized Mean (i.e. EMA instead of SMA).
Can anyone help me figure out how to use a dataseries (i.e. EMA(10)) within an customized StdDev-Indicator-Method without a re-calculation of that EMA in that Indicator?
something like...
IndicatorSeries.Set(EMA(10)[0]);
and than...
double EMAStddev = StdDevIND(indicatorSeries, Period)[0] ?
What kind of Configuraton I have to use for the DataSeries in the StdDevIND - Indicator?
The following code did not work!
public class StdDevIND : Indicator
{
#region Variables
private int period = 14;
private DataSeries sumSeries;
#endregion
....
best
Trendseek
Comment