RSV:=(CLOSE-LLV(LOW,NA))/(HHV(HIGH,NA)-LLV(LOW,NA))*100;
AA:=SMA(RSV,M1,1);
BA:=SMA(AA,M2,3);
EA:=30*AA-20*BA;
K:AA,NODRAW;
D:BA,NODRAW;
J:EA,NODRAW;
VAR0H:=SMA((CLOSE-LLV(LOW,19))/(HHV(HIGH,19)-LLV(LOW,19))*100,3,1);
波段线H:EMA(VAR0H,10);
AS1G:=(CLOSE-LLV(LOW,120))/(HHV(HIGH,190)-LLV(LOW,120))*8;
AA1G:=SMA(AS1G,10,1);
BB1G:=SMA(AA1G,10,1);
AB1G:=CROSS(AS1G,BB1G);
DD1G:=EMA(CLOSE,12)-EMA(CLOSE,26);
DD2G:=EMA(DD1G,9);
AD1G:=CROSS(DD1G,DD2G);
NOTEXTAD3G:(AB1G+DD2G)*50,COLORSTICK,NODRAW;
VARS2:=EA;
MACDS2:=EMA(VARS2,1);
DIFS2:EMA(SUM(MACDS2,3),5),LINETHICK3,COLORYELLOW;
DEAS2:MA(DIFS2,5),COLORWHITE,NODRAW;
DRAWBAND(DIFS2,RGB(135,1,13),21,RGB(10,103,50));
NOTEXTEH:IF(EA<0,波段线H*30,0),COLOR008000,LINETHICK2,STICK;
NOTEXTEH2:IF(EA>10,波段线H*30,0),COLORFF0000,LINETHICK2;
{九毛八公式指标www.9m8.cn 整理}
NOTEXTEH3:IF(EA<80,波段线H*50,0),COLOR00FF00,LINETHICK1;
NOTEXTAD3GG:(DD1G-DD2G)*1200,COLORSTICK;
NOTEXTEHD:IF(EA>DIFS2,波段线H*50,0),COLOR00FFFF,LINETHICK1;