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

求解!!!

作者:金字塔 来源:cxh99.com 发布时间:2014年03月01日
  • 咨询内容:

    14:55后涨幅大于1,开多!

    怎表示???

     

  • 金字塔客服: 相对于昨日收盘? r1:=callstock('if00',vtclose,6,-1);   //参考了3楼回复,图表改为以下 if (c-r1)/r1>0.01 and ((currenttime>=145500 and islastbar) or (not(islastbar) and time>=145500)) then buy(holding=0,1,market);       //以下为后台程序化交易,写法  r1:=callstock('if00',vtclose,6,-1); if (c-r1)/r1>0.01 and currenttime>=145500 then tbuy(tholding=0,1,mkt);
    节日快乐!

     

  • 用户回复:

    这样写图表不妥,还要加个条件限定

     

    if (c-r1)/r1>0.01 and (currenttime>=145500 and islastbar) or (not(islastbar) and time>=145500) then buy(holding=0,1,thisclose);
打印本文打印本文 关闭窗口关闭窗口