打印本文打印本文 关闭窗口关闭窗口

周一至四收盘前3分钟平掉一半仓位,周五则是全部平掉

作者:金字塔 来源:cxh99.com 发布时间:2014年11月27日
  • 咨询内容: 这种该如何编写,谢谢

     

  • 金字塔客服:

    if weekday<=4 and time0<=timetot0(closetime(0))-180 then begin

       sell(1,holding/2,market);

       sellshort(1,holding/2,market);

    end

     

    if weekday=4 and time0<=timetot0(closetime(0))-180 then begin

       sell(1,0,market);

       sellshort(1,0,market);

    end

打印本文打印本文 关闭窗口关闭窗口