/** * Constructor. * @param ref the indicator * @param timeFrame the time frame */ public SigmaIndicator(IIndicator <decimal> indicator, int timeFrame) : base(indicator) { _indicator = indicator; _timeFrame = timeFrame; _mean = new SMAIndicator(indicator, timeFrame); _sd = new StandardDeviationIndicator(indicator, timeFrame); }
/** * Constructor. * @param indicator the indicator * @param timeFrame the time frame */ public StandardErrorIndicator(IIndicator <decimal> indicator, int timeFrame) : base(indicator) { _timeFrame = timeFrame; _sdev = new StandardDeviationIndicator(indicator, timeFrame); }