VAR1:=((EMA(C,3)-EMA(C,6))*5);
VAR2:=(EMA(VAR1,7)+EMA(C,5));
VAR3:=(2*CLOSE+HIGH+LOW)/4;
VAR4:=LLV(LOW,34);
VAR5:=HHV(HIGH,34);
主力:EMA((VAR3-VAR4)/(VAR5-VAR4)*100,13),LINETHICK3,COLORRED;
散户:EMA(0.667*REF(主力,1)+0.333*主力,2),LINETHICK2,COLORFF9933;
VAR6:=CROSS(主力,散户) AND 主力<22 AND VAR2>REF(VAR2,1);
VAR7:MA(WINNER(C)*100,5),COLORRED;
VAR8:MA(WINNER(C)*100,13),COLORYELLOW;
VAR9:=MA(WINNER(C)*100,34);
AA:=BARSLAST(CROSS(VAR8,VAR7))>=7;
BB:=VAR8>REF(VAR8,1)AND CROSS(VAR7,VAR8)AND AA AND VAR7<30 AND VAR7<VAR9;
CC:=(VAR7<REF(VAR7,3)OR VAR7<REF(VAR7,2))AND VAR7>REF(VAR7,1)AND VAR9-VAR7>18 AND VAR7<30;
STICKLINE((VAR9<5 OR VAR9>REF(VAR9,1))AND CROSS(VAR7,VAR8)AND VAR7<VAR9 AND VAR7<30,0,VAR9+8,8,1);
DRAWTEXT((VAR9<5 OR VAR9>REF(VAR9,1))AND CROSS(VAR7,VAR8)AND VAR7<VAR9 AND VAR7<30,VAR9+10,'追涨');
DRAWICON(FILTER(BB OR CC,5)AND C> REF(C,1),VAR7,1);
DRAWICON(FILTER((VAR7>REF(VAR7,3)OR VAR7>REF(VAR7,2))AND VAR7<REF(VAR7,1)AND (VAR7-VAR9>18 OR VAR7>85),5),VAR7+3,2);
IF(CROSS(VAR7,VAR8)AND VAR8<VAR9 AND VAR2>REF(VAR2,1)OR VAR6,10,0),COLORAACCFF,LINETHICK2;