X_1:=IF(KDJ.J(27,3,3) 0,10,0);
X_2:=CROSS(9.9,X_1);
X_3:=(2*CLOSE+HIGH+LOW)/4;
X_4:=LLV(LOW,5);
X_5:=HHV(HIGH,5);
X_6:=EMA((X_3-X_4)/(X_5-X_4)*100,5);
X_7:=MA(X_6,2);
AA:STICKLINE(X_6 X_7,X_6,X_7,3,1),COLORRED;
AAA:IF(X_6 X_7,X_6,X_7),COLORRED;
X_8:=STICKLINE(X_6 X_7 AND REF(X_6,1) 30,X_6,X_7,3,1);
STICKLINE(X_6 =X_7,X_6,X_7,3,1),COLORFFCC66;
DRAWICON(CROSS(9.9,X_1),X_6-12,5);
STICKLINE(CROSS(9.9,X_1),X_6+5,X_7-4,3,1),COLORYELLOW;
X_9:=STICKLINE(X_8,X_6+5,X_7-4,3,1);
STICKLINE(FILTER(X_9,5),X_6+5,X_7-4,3,1),COLORYELLOW;
V20:20,COLORGREEN;
V50:50,COLORGREEN;
V80:80,COLORGREEN;
X_10:=IF(KDJ.J(27,3,3) 100,90,100);
DRAWICON(CROSS(X_10,99.900002),X_6+12,6);
X_11:=X_6 X_7 AND REF(X_6,1) {www.9m8.cn 九毛八公式指标网}
STICKLINE(CROSS(X_10,99.900002),X_6,X_7-9,3,1),COLORGREEN;
X_12:=STICKLINE(X_11,X_6+5,X_7-4,3,1);
STICKLINE(FILTER(X_12,5),X_6+5,X_7-4,3,1),COLORGREEN;
DRAWTEXT(FILTER(X_8,5),X_6-8,'底'),COLORRED;
DRAWTEXT(FILTER(X_11,5),X_6+8,'顶'),COLORGREEN;