示例#1
0
 public Oscillator(int windowSize)
     : base(1)
 {
     _ma = new MovingAverage(windowSize);
 }
示例#2
0
 public Bias(int windowSize)
     : base(1)
 {
     _ma = new MovingAverage(windowSize);
 }
示例#3
0
 public PsychologicalLine(int windowSize)
     : base(1)
 {
     _ma = new MovingAverage(windowSize);
 }
示例#4
0
 public AverageTrueRange(int windowSize)
     : base(1)
 {
     _maTrueRange = new MovingAverage(windowSize);
 }
 public CommodityChannelIndex(int windowSize)
     : base(1)
 {
     _maTruePrice = new MovingAverage(windowSize);
     _truePrices  = new CirculatedArray <double>(windowSize);
 }