Beispiel #1
0
        public KST(int p1 = 10, int p2 = 15, int p3 = 20, int p4 = 30, int n = 10) : base(n)
        {
            ROC1 = new ROC(p1);
            ROC2 = new ROC(p2);
            ROC3 = new ROC(p3);
            ROC4 = new ROC(p4);

            SMA1 = new SMA(p1);
            SMA2 = new SMA(p2);
            SMA3 = new SMA(p3);
            SMA4 = new SMA(p4);

        }
Beispiel #2
0
 public AO(int p1 = 5, int p2 = 34) : base(p2)
 {
     SMA1 = new SMA(p1);
     SMA2 = new SMA(p2);
 }
Beispiel #3
0
 public AC(int n = 5, int y = 5, int z = 34) : base(n)
 {
     SMA = new SMA(n);
     AO = new AO(y, z);
 }
Beispiel #4
0
 public GannHiLo(int n) : base(n)
 {
     SMAHi = new SMA(n);
     SMALow = new SMA(n);
 }
Beispiel #5
0
 public BollingerBands(int n = 20): base(n)
 {
     MIDDLE = new SMA(n);
 }
Beispiel #6
0
 public CCI(int n = 20, double constant = 0.015) : base(n)
 {
     SMA = new SMA(n);
     priceData = new MovingQueue<double>(n);
     this.constant = constant;
 }
Beispiel #7
0
 public CrossoverIndex(int n) : base(n)
 {
     POLYMA = new QSPolyMA(n);
     SMA = new SMA(n);
 }