阶段底线用
SSRCJL:=EMA(VOL,13); SSRCJE:=EMA(AMOUNT,13);
SSRCBJX:=((SSRCJE / SSRCJL) / 100);
SSRGL:=(((CLOSE - SSRCBJX) / SSRCBJX) * 100);
P1:=4;
P2:=5;
绝对底:SSRGL<(0-18),colorred;
大底:SSRGL<(0-14),colorblue;
中底:SSRGL<(0-10),coloryellow;
短底:SSRGL<(0-6),colorwhite;
STICKLINE((SSRGL < (0 - 18)),60,80,3,0),colorred;
STICKLINE((SSRGL < (0 - 14)),40,60,3,0),colorblue;
STICKLINE((SSRGL < (0 - 10)),20,40,3,0),coloryellow;
STICKLINE((SSRGL < (0 - 6)),0,20,3,0),colorwhite;
高卖:80, POINTDOT,colorred;
低吸:20, POINTDOT,colorgreen;
VAR1:=LLV(LOW,P1);
VAR2:=HHV(HIGH,P1);
K: EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,P2),colorblue,LINETHICK2;
D: EMA(0.667*REF(K,1)+0.333*K,2),colorgreen,LINETHICK2;
DRAWICON(CROSS(K,D),K,1);
DRAWICON(CROSS(D,K),D,2);