示例#1
0
 public KDJ(KDJ other)
 {
     kt         = other.kt;
     dt         = other.dt;
     jt         = other.jt;
     buy_break  = other.buy_break;
     sell_break = other.sell_break;
 }
示例#2
0
 public StrategyData(StrategyData other)
 {
     kdj  = new KDJ(other.kdj);
     pe   = new PERatio(other.pe);
     tr20 = new Turtle(other.tr20);
     tr55 = new Turtle(other.tr55);
     ma5  = new MACD(other.ma5);
     ma10 = new MACD(other.ma10);
     ma20 = new MACD(other.ma20);
     ma30 = new MACD(other.ma30);
     ma90 = new MACD(other.ma90);
     b200 = new Box(other.b200);
 }
示例#3
0
 public StrategyData()
 {
     kdj  = new KDJ();
     pe   = new PERatio();
     tr20 = new Turtle(20);
     tr55 = new Turtle(55);
     ma5  = new MACD(5);
     ma10 = new MACD(10);
     ma20 = new MACD(20);
     ma30 = new MACD(30);
     ma90 = new MACD(90);
     b200 = new Box(200);
 }