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

改交易模型

作者:金字塔 来源:cxh99.com 发布时间:2015年04月05日
  • 咨询内容: hld[n]:=0;for i=n+1 to DATACOUNT do beginIF fkc[i]>mhn[i-1] then hld[i]:=1; else IF fkc[i]<mln[i-1] then hld[i]:=-1;elsehld[i]:=hld[i-1];end;
    改序列模型为逐K

     

  • 金字塔客服: 第一句改成variable:hld=0;

     

  • 用户回复: 改了也没有用,不显示结果

     

  • 网友回复: variable:hld=0;fkc:= c;mhn:=h;mln:=l;for i=n+1 to DATACOUNT do beginIF fkc[i]>mhn[i-1] then hld[i]:=1; else IF fkc[i]<mln[i-1] then hld[i]:=-1;elsehld[i]:=hld[i-1];end;hilo:IF(hld=-1,mhn,mln);

     

  • 网友回复: n是多少?
打印本文打印本文 关闭窗口关闭窗口