Пример #1
0
 public MACDIndicator(long timeframeOne, long timeframeTwo, long signalTimeframe)
 {
     this.timeframeOne    = timeframeOne;
     this.timeframeTwo    = timeframeTwo;
     this.signalTimeframe = signalTimeframe;
     maSub    = new MovingAverageSubtractionIndicator(timeframeOne, timeframeTwo);
     signalMa = new MovingAverageIndicator(signalTimeframe);
 }
 public MovingAverageSubtractionCrossoverIndicator(long timeframeOne, long timeframeTwo)
 {
     this.timeframeOne = timeframeOne;
     this.timeframeTwo = timeframeTwo;
     maSub             = new MovingAverageSubtractionIndicator(timeframeOne, timeframeTwo);
 }