Exemplo n.º 1
0
 public SimpleMovingAverageOscillator(Equity equity, int periodCount1, int periodCount2)
     : base(equity, periodCount1, periodCount2)
 {
     _smaIndicator1 = new SimpleMovingAverage(equity, periodCount1);
     _smaIndicator2 = new SimpleMovingAverage(equity, periodCount2);
 }
Exemplo n.º 2
0
 public BollingerBands(Equity equity, int periodCount, int sdCount) : base(equity, periodCount, sdCount)
 {
     _smaIndicator = new SimpleMovingAverage(equity, periodCount);
     _sdIndicator  = new StandardDeviation(equity, periodCount);
 }