a:=999999999;mk:=0;ps:=0;if barstatus=2 then for i=1 to barpos do if sum(amount,i)>a then begin mk:=1; break; endps:backset(mk,i);{呵呵,虽然不知道你的用途,你可以试下上面的代码(适合大智慧使用),a的数值是我随意敲进去的,你按你需...
var1:=sum(max(max(high-low,abs(high-ref(close,1))),abs(low-ref(close,1))),25);var2:=high-ref(high,1);var3:=ref(low,1)-low;var4:=sum(if(var2>0 and var2>var3,var2,0),25);var5:=sum(if(var3>0 and...