Board logo

标题: [金字塔源码] 周间日交易法系统源码[金字塔模型] [打印本页]

作者: 龙听    时间: 2020-5-4 17:35     标题: 周间日交易法系统源码[金字塔模型]

模型策略源码:
  1. runmode:0;

  2. if holding=0 then begin

  3. if weekday=2 then

  4.   buyshort(1,1,limitr,open);

  5. end

  6. if holding<0 then begin

  7. sellshort(1,1,limitr,close);

  8. end

  9. 收益:(asset-30000)/30000,noaxis,colormagenta;

  10. 次数:totaltrade,linethick0;

  11. 胜率:percentwin,linethick0;

  12. 连亏:maxseqloss,linethick0;

  13. 连赢:maxseqwin,linethick0;
复制代码





欢迎光临 龙听期货论坛 (http://www.qhlt.cn/) Powered by Discuz! 7.2