v1:=ma(c,3)=hhv(ma(c,3),7);
v2:=ma(c,3)>ma(c,5);
v3:=ma(v,5)>ma(v,10)*1.01;
v4:=count(ma(c,1)>ref(c,1),2)=2;
lc20:=ref(close,1);
rsi20:=sma(max(close-lc20,0),4.1,1)/sma(abs(close-lc20),4.1,1)*100;
底部买多:cross(rsi20,11)*1,colorred;
var3a:=3;
var2a:=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);
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<0,2) and cross(dx,ma(dx,2)),1,0);
加仓:if(filter(yxf=1,5),1,0),stick,colorffffff,linethick3;
a51:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv
(l,55))*100,5,1);
fy:=ema(a51,5);
a54:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;
qs:=(ma(3*sma(a54,6,1)-2*sma(sma(a54,5,1),5,1),2));
|