Ejemplo n.º 1
0
 /**
  * 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);
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }