买线:=ema(c,2);卖线:=ema(slope(c,21)*20+c,42);bu:=cross(买线,卖线);rsv:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;k:=sma(rsv,3,1);d:=sma(k,3,1);j:=3*k-2*d;xg:bu and cross(j,10);已测试。 20210311
variable:p1=0;p2:=intpart(ref(cyc(5),1)*100)/100;p3:=intpart(ref(cyc(5),1)*0.96*100)/100;vv:=intpart(min(capital*0.05,ref(ma(vol,34),1))/100);p41:=intpart(ref(maxcyc,1)*100)/100;p4:=p1=0 and c>p2 o...
var1:=(c>ref(c,1) and c>ref(c,2));vard:=(c<ref(c,1) and c<ref(c,2));vare:=(ref(vard,1) and c>=ref(c,1) and c<=ref(c,2));varf:=(ref(vare,1) and c<=ref(c,1) and c>=ref(c,2));var1...