ABC_1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
ABC_2:=SMA(SMA(ABC_1,3,1),3,1)/28.57;
ABC_3:=EMA(ABC_2,5);
ABC_4:=3*ABC_2-2*ABC_3;
ABC_5:=CROSS(ABC_4,ABC_2) AND ABC_2<2.1 AND CLOSE>OPEN;
ABC_6:=CROSS(ABC_4,ABC_2) AND ABC_2<2.1 AND CLOSE>OPEN;
ABC_7:=(2*CLOSE+HIGH+LOW)/4;
ABC_8:=LLV(LOW,13);
ABC_9:=HHV(HIGH,13);
ABC_10:=EMA((ABC_7-ABC_8)/(ABC_9-ABC_8)*100,13);
ABC_11:=EMA(0.667*REF(ABC_10,1)+0.333*ABC_10,2);
ABC_12:=ABC_10;
HGW:=EMA(H,25),COLORGREEN;
好股网:=EMA(L,25),COLORGREEN;
ABC111:=PLOYLINE(C>HGW,HGW);
A222:=IF(C>HGW,ABC111,DRAWNULL),COLORRED;
B111:=PLOYLINE(C>好股网,好股网);
B222:=IF(C>好股网,B111,DRAWNULL),COLORRED;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,3,0),COLOR0055AA;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,2.8,0),COLOR0066BB;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,2.5,0),COLOR0077CC;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,2.2,0),COLOR0088DD;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,1.7,0),COLOR0099EE;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,1.2,0),COLOR00AAFF;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,0.7,0),COLOR00CCFF;
STICKLINE(ABC_10>ABC_11,ABC_10,ABC_11,0.2,0),COLORYELLOW;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,3,0),COLOR990099;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,2.8,0),COLOR990088;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,2.5,0),COLOR990077;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,2.2,0),COLOR990066;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,1.7,0),COLOR990055;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,1.2,0),COLORBB00BB;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,0.7,0),COLORDD00DD;
STICKLINE(ABC_10<=ABC_11,ABC_10,ABC_11,0.2,0),COLORMAGENTA;
ABC_13:=10;
安全区:20,COLORLIRED;
中轨:50,COLORYELLOW;
高位:80,COLORLIBLUE;
启动:EMA(0.382*REF(ABC_10,2)+0.618*ABC_10,6),COLORRED;
NOTEXT2:IF(启动>REF(启动,1),启动,DRAWNULL),COLORRED,LINETHICK4;
NOTEXT3:IF(启动<REF(启动,1),启动,DRAWNULL),COLORLIBLUE,LINETHICK2;
共振:=BARSLASTCOUNT(ABC_10>ABC_11 AND NOTEXT2)=1;
STICKLINE(共振 AND B222,82,20,0.005,0),COLORRED;
DRAWICON(共振 AND B222,85,25),COLORYELLOW;
DRAWICON(共振 AND B222,75,26),COLORYELLOW;
DRAWICON(共振 AND B222,65,27),COLORYELLOW;