Пример #1
0
 public BolingerBandsIndicator(long timeframe, double stdMultiplicator)
 {
     this.stdMultiplicator = stdMultiplicator;
     this.timeframe        = timeframe;
     this.ma  = new MovingAverageIndicator(timeframe);
     this.std = new StandartDeviationIndicator(timeframe);
 }
Пример #2
0
 public RSIMACrossoverIndicator(long rsiTimeframe, long signalTimeframe)
 {
     this.rsiTimeframe    = rsiTimeframe;
     this.signalTimeframe = signalTimeframe;
     rsi      = new RSIIndicator(rsiTimeframe);
     signalMa = new MovingAverageIndicator(signalTimeframe);
 }
Пример #3
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 MovingAverageSubtractionIndicator(long timeframeOne, long timeframeTwo)
        {
            maOne             = new MovingAverageIndicator(timeframeOne);
            this.timeframeOne = timeframeOne;

            maTwo             = new MovingAverageIndicator(timeframeTwo);
            this.timeframeTwo = timeframeTwo;
        }
 public MovingAveragePriceSubtractionIndicator(long timeframe)
 {
     ma             = new MovingAverageIndicator(timeframe);
     this.timeframe = timeframe;
 }