JL:=EMA(VOL,13)/100;
JE:=EMA(AMOUNT,13);
JX:=((JE/JL)/100);
GL:=(((CLOSE-JX)/JX)*100);
绝对底:GL<(0-18),colorred;
大底:GL<(0-14),colorblue;
中底:GL<(0-10),coloryellow;
短底:GL<(0-6),colorwhite;
STICKLINE(绝对底,60,80,8,0),colorred;
STICKLINE(大底,40,60,8,0),colorblue;
STICKLINE(中底,20,40,8,0),coloryellow;
STICKLINE(短底,0,20,8,0),colorwhite;
高卖:80,colorred;
低吸:20,colorgreen;
VAR1:=LLV(LOW,4);
VAR2:=HHV(HIGH,4);
K:EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,5),colorred,LINETHICK1;
D:EMA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK1;
DRAWTEXT(CROSS(K,D),K,'始');
DRAWTEXT(CROSS(D,K),D,'终');