P1:=5;
P2:=4;
SSRCJL:=Ema(vol,13);
SSRCJE:=ema(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
绝对底:SSRGL<(0-18),COLORWHITE;
大底:SSRGL<(0-14),COLORLIMAGENTA;
中底:SSRGL<(0-10),COLORBLUE;
短底:SSRGL<(0-6),COLORRED;
STICKLINE((SSRGL < (0 - 18)),60,80,3,0),COLORWHITE;
STICKLINE((SSRGL < (0 - 14)),40,60,3,0),COLORLIMAGENTA;
STICKLINE((SSRGL < (0 - 10)),20,40,3,0),COLORBLUE;
STICKLINE((SSRGL < (0 - 6)),0,20,3,0),COLORRED;
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),COLORWHITE,LINETHICK1;
D: EMA(0.667*REF(K,1)+0.333*K,2),COLORCYAN,LINETHICK1;
连续3天短底买:0;