量化交易系统

【动力突破ea】一次一单,带止盈止损

  • 型号:
Main Image input double I_OpenedLoss      = 50 ;     //止损
input double I_OpenedTakeProfit = 10 ;     //止盈
input double I_Distance       = 8   ;     //当前价和挂单的距离
input int    I_MoveStep       = 3   ;     //移动步长
input int    I_RemainTime      = 2   ;     //挂单后停留时间
input bool   I_RepeatPay     = true;     //复利开关
input double I_Lots          = 0.01;     //基本下单手数
input double I_Risk          = 50 ;     //风险指数
input bool   I_CanBuy       = true;     //多单开关
input bool   I_CanSell        = true;     //空单开关