XA_1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
XA_2:=HIGH-REF(HIGH,1);
XA_3:=REF(LOW,1)-LOW;
XA_4:=SUM(IF(XA_2>0 AND XA_2>XA_3,XA_2,0),25);
XA_5:=SUM(IF(XA_3>0 AND XA_3>XA_2,XA_3,0),25);
XA_6:=XA_4*100/XA_1;
XA_7:=XA_5*100/XA_1;
XA_8:=MA(ABS(XA_7-XA_6)/(XA_7+XA_6)*100,15);
XA_9:=(XA_8+REF(XA_8,15))/2;
{股票指标网 整理}
XA_10:=ZIG(3,10);
XA_11:=MA(XA_10,2);
DRAWICON(CROSS(XA_10,XA_11),LOW-0.1,7);
DRAWICON(CROSS(XA_11,XA_10),HIGH+0.1,8);
STICKLINE(XA_10>XA_11 AND OPEN>=CLOSE,CLOSE,OPEN,(-1),0),COLORRED;
STICKLINE(XA_10>XA_11 AND OPEN>=CLOSE,LOW,HIGH,0,0),COLORRED;
STICKLINE(XA_10<XA_11 AND OPEN<=CLOSE,OPEN,CLOSE,(-1),1),COLORCYAN;
STICKLINE(XA_10<XA_11 AND OPEN<=CLOSE,OPEN,LOW,0,1),COLORCYAN;
STICKLINE(XA_10<XA_11 AND OPEN<=CLOSE,CLOSE,HIGH,0,1),COLORCYAN;
XA_12:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
XA_13:=SMA(XA_12,3,1);
XA_14:=SMA(XA_13,3,1);
XA_15:=XA_14 AND XA_14<20;
XA_16:=1/WINNER(CLOSE);