コード例 #1
0
ファイル: KST.cs プロジェクト: ifzz/QuantSys
        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);

        }
コード例 #2
0
ファイル: AO.cs プロジェクト: ifzz/QuantSys
 public AO(int p1 = 5, int p2 = 34) : base(p2)
 {
     SMA1 = new SMA(p1);
     SMA2 = new SMA(p2);
 }
コード例 #3
0
ファイル: AC.cs プロジェクト: ifzz/QuantSys
 public AC(int n = 5, int y = 5, int z = 34) : base(n)
 {
     SMA = new SMA(n);
     AO = new AO(y, z);
 }
コード例 #4
0
ファイル: GannHiLo.cs プロジェクト: ifzz/QuantSys
 public GannHiLo(int n) : base(n)
 {
     SMAHi = new SMA(n);
     SMALow = new SMA(n);
 }
コード例 #5
0
ファイル: BollingerBands.cs プロジェクト: ifzz/QuantSys
 public BollingerBands(int n = 20): base(n)
 {
     MIDDLE = new SMA(n);
 }
コード例 #6
0
ファイル: CCI.cs プロジェクト: ifzz/QuantSys
 public CCI(int n = 20, double constant = 0.015) : base(n)
 {
     SMA = new SMA(n);
     priceData = new MovingQueue<double>(n);
     this.constant = constant;
 }
コード例 #7
0
ファイル: CrossoverIndex.cs プロジェクト: ifzz/QuantSys
 public CrossoverIndex(int n) : base(n)
 {
     POLYMA = new QSPolyMA(n);
     SMA = new SMA(n);
 }