ma5:=ma(c,5);ma10:=ma(c,10);ma20:=ma(c,20);ma60:=ma(c,60);mtm:=c-ref(c,1);dx:=100*ema(ema(mtm,6),6)/ema(ema(abs(mtm),6),6);yxf:=if(llv(dx,2)=llv(dx,7)and count(dx,2)and cross(dx,ma(dx,2)),1,0);t1:=if(filter(yxf=1,5),20,-10)=20;t2:=ma20>ma60 and c>ma60 and ma5>ma20 and ma10>ma20 ... 20210311
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的数值是我随意敲进去的,你按你需...