Exemplo n.º 1
0
 /// <summary>
 /// Creates a new EaseOfMovement indicator with the specified period
 /// </summary>
 /// <param name="name">The name of this indicator</param>
 /// <param name="period">The period over which to perform to computation</param>
 /// <param name="scale">The size of the number outputed by EMV</param>
 public EaseOfMovementValue(string name, int period, int scale)
     : base(name)
 {
     _sma   = new SimpleMovingAverage(period);
     _scale = scale;
 }
Exemplo n.º 2
0
 public InverseFisherTransform(string name, int period)
     : base(name)
 {
     mean = new SimpleMovingAverage(period);
     sd   = new StandardDeviation(period);
 }