a1:= wma(close,22);a2: wma(close,55),linethick0,color00ffff;a3:= wma(close,34);生命线: wma(close,14),linethick2,color80ff00;年线: wma(close,250),linethick0,pointdot,colorffffff;b:= 生命线>a1 and a1>a2 and a2>a3;b1:= count(b,2)=1 and ref(a2,1)<=ref(a3,1);vv2:= ref(close,1);vv3:= sma(close-vv2,6,1)/sma(abs(close-vv2),6,1)*100;drawtext(ref(vv3,1)>81 and vv3<80,high,'闪人↓'),color00ffff;红包:= if(trou**ars(3,15,1)=0 and high>low+0.01,10,-5);动态底部:= ema(if(low<=llv(low,30),sma(abs(low-ref(low,1)),30,1)/sma(max(low-ref(low,1),0),30,1),0),3)*10;pp:= 红包=10 and 动态底部>10;drawtext(pp,high,'坚决买入'),color00ff00;这样就可以在主图用了。下面是选股用:红包:= if(trou**ars(3,15,1)=0 and high>low+0.01,10,-5);动态底部:= ema(if(low<=llv(low,30),sma(abs(low-ref(low,1)),30,1)/sma(max(low-ref(low,1),0),30,1),0),3)*10;pp:红包=10 and 动态底部>10; 20210311