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

如何实现加仓????

作者:金字塔 来源:cxh99.com 发布时间:2016年01月25日
  • 咨询内容: 开仓后,某条件状态为A,之后行情可能会B,当再次变成A的时候,加仓。怎样实现?

     

  • 金字塔客服:

    variable:n=0;

    if 条件a and n=0 and 持仓判断 then begin

        下单语句;

        n:=1;

    end

     

    if n=1 and b then n:=0;

     

     

  • 用户回复: if  b then  begin n:=2;昨晚搞了一晚,这样写,说我错误。

     

  • 网友回复: 如果系统说你错了,那么你真得错了,书写错了,检查 下有什么地方有没有写错或者少写,再检查检查是不是少写了标点符号
打印本文打印本文 关闭窗口关闭窗口