Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
if 条件1 then ww:=1;
if 条件2 then ww:=2;
感觉上是这个意思
variable:n1=0,n2=0;
if 条件1 then begin
n1:=n1+1;
n2:=0;
end
if 条件2 then begin
n1:=0;
n2:=n2+1;
ww1:=valuewhen(cross(n1=1,0.5),close);
ww2:=valuewhen(cross(n2=1,0.5),close);