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

反手公式怎么表示

作者:金字塔 来源:cxh99.com 发布时间:2016年12月20日
  • 咨询内容: if HOLDING<=-1 and c>=ENTERPRICE+n3  thenSELLSHORT(1,ss,MARKET);

    if HOLDING>=1 and c<=ENTERPRICE-n3  thenSELL(1,ss,MARKET);


    亏N3个点平仓止损,反手开单,怎么表示。请教,谢谢。

     

  • 金字塔客服:

    if holding>0 and c<enterprice-3 then begin

       sell(1,0,market);

       buyshort(holding=0,1,market);

    end

     

    if holding<0 and c>enterprice+3 then begin

       sellshort(1,0,market);

       buy(holding=0,1,market);

    end

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