M:=4;
AA1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
AA2:=SMA(AA1,13,1);
主力线:=SMA(AA2,5.5,1.5),COLORCYAN;
股价线:=3*AA2-2*主力线,COLORYELLOW;
散户线:=4*主力线-3*AA2,COLORMAGENTA;
趋势强弱:MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20,COLORSTICK;
小波段:MA(趋势强弱,1),COLORFF00FF,LINETHICK2;
天下无敌:CROSS(股价线,主力线),COLORFFFF00;
STICKLINE(CROSS(小波段,0) AND BARSLAST(天下无敌)<=3,0,25,2,0),COLOR00FF00;
DRAWICON(CROSS(小波段,0) AND BARSLAST(天下无敌)<=3,30,26);