|
[pre] input bool UseAdd=true; // 是否使用加仓策略,true:是 input double LotExponent=1; // 加仓系数 input int slip=3; // 滑点 input double Lots=0.05; // 初始单量 input int LotsDigits=2; //单量精确到小数点后2位 input double TakeProfit=200; // 止盈 input double PipStep=300; // 加仓间隔,当一根K线的开盘价与上次开仓价之间价格大于这个数值,才加倍开仓 input int MaxTrades=10; //最大订单数 [/pre] 支持0 |
外汇交易入门