var3:=((2)*(close)+high+low)/(4);var4:=llv(low,34);var5:=hhv(high,34);趋势:=(3)*(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1))-(2)*(sma(sma(((close-llv(low,27))/(hhv(high,27)-llv(low,27)))*(100),5,1),3,1));散户:=ema(((var3-var4)/(var5-var4))*(100),13);新庄:=ema((0.66699999)*(ref(散户,1))+(0.333)*(散户),1);xg:cross(趋势,10) and (新庄<散户);(已测试) 20210311
n:=20;n1:=15;t1:=ref(hhv(h,n)/llv(l,n),1)(1+n1/100)and barscount(c)>n;t2:=t1=1 and c>=ref(hhv(h,n),1)and v>ref(v,1)and c<o and c>ref(c,1);xg:ref(t2,1)=1 and v(v,1)and c>ref(h,1);n是盘整...