XA_2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
XA_3:=SUM(AMOUNT,40)/XA_1/100;
XA_4:=SUM(AMOUNT,80)/XA_1/100;
XA_5:=DMA(XA_2,VOL/XA_3);
XA_6:=DMA(XA_2,VOL/XA_4);
XA_7:=(CLOSE-XA_5)/XA_5*100;
XA_8:=(CLOSE-XA_6)/XA_6*100;
控盘:4,COLORYELLOW;
警戒:21,COLOR0099FF;
河:(-5),COLORGREEN;
湖:(-15),COLORCCFF33;
STICKLINE(XA_8>0,0,XA_8,1,0),COLORYELLOW;
STICKLINE(XA_8<=0,0,XA_8,1,0),COLORGREEN;
DRAWTEXT_FIX(1,0.980,20,1,'★九毛八公式指标www.9m8.cn'),COLORYELLOW;
STICKLINE(XA_7>0,0,XA_7,1,0),COLORRED;
STICKLINE(XA_7<=0,0,XA_7,1,0),COLORFF9966;