XA_1:=HHV(HIGH,9)-LLV(LOW,9);
XA_2:=HHV(HIGH,9)-CLOSE;
XA_3:=CLOSE-LLV(LOW,9);
XA_4:=XA_2/XA_1*100-70;
XA_5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
XA_6:=(2*CLOSE+HIGH+LOW)/4;
XA_7:=SMA(XA_3/XA_1*100,3,1);
XA_8:=LLV(LOW,30);
XA_9:=SMA(XA_7,3,1)-SMA(XA_4,9,1);
XA_10:=IF(XA_9>100,XA_9-100,0);
XA_11:=HHV(HIGH,30);
XA_12:=EMA((XA_6-XA_8)/(XA_11-XA_8)*100,6);
XA_13:=XA_12;
XA_14:=FORCAST(XA_12,12);
XA_15:=1;
XA_16:=1;
STICKLINE(XA_16=1 AND XA_12>0 AND XA_12-XA_14>=0,79,80,6,0),COLORRED;
STICKLINE(XA_16=1 AND XA_12>0 AND XA_12-XA_14<0,79,80,6,1),COLORGREEN;
STICKLINE(XA_16=1 AND XA_12>0 AND XA_12-XA_14>=0,19,20,6,0),COLORRED;
STICKLINE(XA_16=1 AND XA_12>0 AND XA_12-XA_14<0,19,20,6,1),COLORCYAN;
IF(XA_16=1,XA_12,0),LINETHICK3;
100,COLORWHITE;
强势分界:80;牛熊分界:50,COLORRED;
弱势分界:20,COLORWHITE;
IF(XA_12>=78.5,XA_12,DRAWNULL),COLORRED,LINETHICK4;