M1:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
钝化:=IF(COUNT(K<20,3)=3,10,DRAWNULL) AND IF(COUNT(K<20,1)=1,10,DRAWNULL);
红:=COUNT(钝化,3)>=2;
GUB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);
GUB3:=EMA(GUB2,7);
GUB4:=EMA(GUB3,10);
GUB5:=(3)*(GUB3)-(2)*(GUB4);
GUB6:=EMA(GUB5,5);
串:=EMA(GUB6,1);
黄:=串 AND IF(REF((COUNT((串<=REF(串,1)),5)=5),1) AND (串>REF(串,1)),10,0);
RSSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
KS:=SMA(RSSV,3,1),COLORYELLOW;
DS:=SMA(KS,3,1),COLOR00DD00;
蓝:=FILTER(CROSS(KS,DS) AND KS<20,4);
趋势共振:=红 AND 黄 AND 蓝;
STICKLINE(趋势共振,0,75,2,0),COLORWHITE;
STICKLINE(趋势共振,52,73,1.2,0),COLORRED;
STICKLINE(趋势共振,27,48,1.2,0),COLORYELLOW;
STICKLINE(趋势共振,2,23,1.2,0),COLORBLUE;