Ejemplo n.º 1
0
 public BolingerBandsIndicator(long timeframe, double stdMultiplicator)
 {
     this.stdMultiplicator = stdMultiplicator;
     this.timeframe        = timeframe;
     this.ma  = new MovingAverageIndicator(timeframe);
     this.std = new StandartDeviationIndicator(timeframe);
 }
Ejemplo n.º 2
0
 public RSIMACrossoverIndicator(long rsiTimeframe, long signalTimeframe)
 {
     this.rsiTimeframe    = rsiTimeframe;
     this.signalTimeframe = signalTimeframe;
     rsi      = new RSIIndicator(rsiTimeframe);
     signalMa = new MovingAverageIndicator(signalTimeframe);
 }
Ejemplo n.º 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;
 }