VARA:=LLV(LOW,40);
VARB:=HHV(HIGH,30);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
QS:= VARC;
VARD:=87.5;
VARE:=(VARC-LLV(VARC,4))/(HHV(VARC,4)-LLV(VARC,4))*4*25;
一:=CROSS(QS,VARD) AND VARE==100;
二:=CROSS(VARD,QS);
三:=CROSS(QS,VARE) AND QS
STICKLINE(FILTER(VARC 10 && 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)) 97,5),0,15,2.5,0),COLORYELLOW;
STICKLINE(FILTER(二,10),100,85,2.5,0),COLORRED;
DRAWTEXT(FILTER(二,10),83,'跑');
DRAWTEXT(FILTER(VARC 10 && 100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)) 97,5),17,'追');
VAR6:=(2*CLOSE+HIGH+LOW)/4;
VAR8:=LLV(LOW,30);
VARAA:=HHV(HIGH,30);
B:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);
B1:=EMA(B,5);{九毛八公式指标网www.9m8.cn}
STICKLINE(B 0 && B-B1 =0,79,80,2.5,0),COLORWHITE;
STICKLINE(B 0 && B-B1 0,79,80,2.5,0),COLORCYAN;
STICKLINE(B 0 && B-B1 =0,49,50,2.5,0),COLORRED;
STICKLINE(B 0 && B-B1 0,49,50,2.5,0),COLORRED;
STICKLINE(B 0 && B-B1 =0,19,20,2.5,0),COLORWHITE;
STICKLINE(B 0 && B-B1 0,19,20,2.5,0),COLORCYAN;
STICKLINE(B-B1 0,B,B1,2.5,1),COLORRED;
STICKLINE(B-B1 0,B,B1,2.5,1),COLORWHITE;