Beispiel #1
0
 public ATRIndicator(ITimeSeries series, int timeFrame)
     : base(series)
 {
     _averageTrueRangeIndicator = new MMAIndicator(new TRIndicator(series), timeFrame);
 }
Beispiel #2
0
 public RSIIndicator(IIndicator <decimal> indicator, int timeFrame)
     : base(indicator)
 {
     _averageGainIndicator = new MMAIndicator(new GainIndicator(indicator), timeFrame);
     _averageLossIndicator = new MMAIndicator(new LossIndicator(indicator), timeFrame);
 }