Exemple #1
0
 public Chaikin(int n1 = 3, int n2 = 10) : base(n2)
 {
     ADL1 = new EMA(n1);
     ADL2 = new EMA(n2);
     MoneyFlowMultiplier = new MFM(1);
     
 }
Exemple #2
0
 public KirshenbaumBands(int n = 20, int l = 30, double dev = 1.75)
     : base(n)
 {
     EMA = new EMA(n);
     LRValues= new MovingQueue<double>(l);
     STDEV = dev;
 }
Exemple #3
0
 public TEMA(int n, AbstractIndicator indicator = null)
     : base(n)
 {
     EMA1 = new EMA(n);
     EMA2 = new EMA(n);
     EMA3 = new EMA(n);
     this.indicator = indicator;
 }
Exemple #4
0
 public DI(int n) :base(n)
 {
     subIndicators.Add("DIP", new GenericContainer(n));
     subIndicators.Add("DIM", new GenericContainer(n));
     EMA_DMN = new EMA(n);
     EMA_DMP = new EMA(n);
     ATR = new ATR(n);
 }
Exemple #5
0
 public QSPolyChannel(int n = 20, int l = 30, double dev = 1.5)
     : base(n)
 {
     EMA = new EMA(n);
     LRValues= new MovingQueue<double>(l);
     X = new double[l];
     for (int i = 0; i < X.Count(); i++) X[i] = i;
     STDEV = dev;
 }
Exemple #6
0
        public MACD(int N1 = 12, int N2 = 26, int N3 = 9) : base(N2)
        {
            this.N1 = N1;
            this.N2 = N2;
            this.N3 = N3;
            EMA1 = new EMA(N1);
            EMA2 = new EMA(N2);

            subIndicators.Add("Signal", new EMA(N3));
            subIndicators.Add("Histogram", new GenericContainer(N2));
        }
Exemple #7
0
 public TRIX(int n = 15) : base(n)
 {
     EMA1 = new EMA(n);
     EMA2 = new EMA(n);
     EMA3 = new EMA(n);
 }
Exemple #8
0
 public GDEMA(int n, double v = 1, AbstractIndicator indicator = null) : base(n)
 {
     EMA1           = new EMA(n);
     EMA2           = new EMA(n);
     this.indicator = indicator;
 }
Exemple #9
0
 public ZLEMA(int n, AbstractIndicator indicator = null) : base(n)
 {
     EMA = new EMA(n);
     this.indicator = indicator;
     priceData = new MovingQueue<double>((n-1)/2);
 }
Exemple #10
0
 public ZLEMA(int n, AbstractIndicator indicator = null) : base(n)
 {
     EMA            = new EMA(n);
     this.indicator = indicator;
     priceData      = new MovingQueue <double>((n - 1) / 2);
 }
Exemple #11
0
 public GDEMA(int n, double v = 1, AbstractIndicator indicator = null) : base(n)
 {
     EMA1 = new EMA(n);
     EMA2 = new EMA(n);
     this.indicator = indicator;
 }
Exemple #12
0
 public ForceIndex(int n) : base(n)
 {
     EMA = new EMA(n);
 }