예제 #1
0
파일: Chaikin.cs 프로젝트: ifzz/QuantSys
 public Chaikin(int n1 = 3, int n2 = 10) : base(n2)
 {
     ADL1 = new EMA(n1);
     ADL2 = new EMA(n2);
     MoneyFlowMultiplier = new MFM(1);
     
 }
예제 #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;
 }
예제 #3
0
파일: TEMA.cs 프로젝트: ifzz/QuantSys
 public TEMA(int n, AbstractIndicator indicator = null)
     : base(n)
 {
     EMA1 = new EMA(n);
     EMA2 = new EMA(n);
     EMA3 = new EMA(n);
     this.indicator = indicator;
 }
예제 #4
0
파일: DI.cs 프로젝트: ifzz/QuantSys
 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);
 }
예제 #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;
 }
예제 #6
0
파일: MACD.cs 프로젝트: ifzz/QuantSys
        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));
        }
예제 #7
0
파일: TRIX.cs 프로젝트: ifzz/QuantSys
 public TRIX(int n = 15) : base(n)
 {
     EMA1 = new EMA(n);
     EMA2 = new EMA(n);
     EMA3 = new EMA(n);
 }
예제 #8
0
파일: GDEMA.cs 프로젝트: yuxi214/QuantSys
 public GDEMA(int n, double v = 1, AbstractIndicator indicator = null) : base(n)
 {
     EMA1           = new EMA(n);
     EMA2           = new EMA(n);
     this.indicator = indicator;
 }
예제 #9
0
파일: ZLEMA.cs 프로젝트: ifzz/QuantSys
 public ZLEMA(int n, AbstractIndicator indicator = null) : base(n)
 {
     EMA = new EMA(n);
     this.indicator = indicator;
     priceData = new MovingQueue<double>((n-1)/2);
 }
예제 #10
0
파일: ZLEMA.cs 프로젝트: valmac/QuantSys
 public ZLEMA(int n, AbstractIndicator indicator = null) : base(n)
 {
     EMA            = new EMA(n);
     this.indicator = indicator;
     priceData      = new MovingQueue <double>((n - 1) / 2);
 }
예제 #11
0
파일: GDEMA.cs 프로젝트: ifzz/QuantSys
 public GDEMA(int n, double v = 1, AbstractIndicator indicator = null) : base(n)
 {
     EMA1 = new EMA(n);
     EMA2 = new EMA(n);
     this.indicator = indicator;
 }
예제 #12
0
파일: ForceIndex.cs 프로젝트: ifzz/QuantSys
 public ForceIndex(int n) : base(n)
 {
     EMA = new EMA(n);
 }