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

关于后台交易加仓的问题

作者:金字塔 来源:cxh99.com 发布时间:2016年01月21日
  • 咨询内容: 老师 请问 后台交易,会不会记录前一次开仓价格和仓位

     

  • 金字塔客服:

    if kong then Tbuyshort(Tholding=0,x,MKT);

    if kong and ENTERPRICE-C>=w*MINDIFF and abs(Tholding)=x  then  Tbuyshort(1,x,MKT);

    if kong  and  ENTERPRICE-C>=w*MINDIFF and abs(Tholding)=2*x then  Tbuyshort(1,x,MKT);

    if kong  and  ENTERPRICE-C>=w*MINDIFF and abs(Tholding)=3*x then  Tbuyshort(1,x,MKT);

     

    ,这是加仓的,是什么问题

     

  • 用户回复: 后台获取上次开仓的函数是tenterprice不是enterprice
打印本文打印本文 关闭窗口关闭窗口