VAR1:=EMA(WINNER(CLOSE)*70,3);
VAR2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZLKP:VAR1/(VAR1+VAR2)*100,COLORYELLOW,LINETHICK2;
ZLJJ:EMA(ZLKP,89),LINETHICK4;
ZLKP 75,COLORWHITE;
VAR3:=VAR2/(VAR1+VAR2)*100;
VAR4:=MA(ZLKP,3);
VAR5:=BACKSET(REF(HIGH,2)=HHV(HIGH,5),3);
VAR6:=CROSS(VAR5,0.9);
VAR7:=BACKSET(REF(LOW,2)=LLV(LOW,5),3);
VAR8:=CROSS(VAR7,0.9);
STICKLINE(ZLJJ REF(ZLJJ,1),ZLKP,ZLJJ,1,0),COLORRED;
STICKLINE(ZLJJ REF(ZLJJ,1),0,ZLJJ,2,0),COLORBLACK;
STICKLINE(ZLJJ REF(ZLJJ,1),0,ZLJJ,2,0),COLORBLACK;
STICKLINE(ZLJJ,0,ZLJJ,5,0),COLORBLACK;
界:HHV(VAR4,15),DOTLINE,COLORLIGREEN;
DRAWTEXT(ISLASTBAR,界,STRCAT(7,CON2STR(界,2))),COLORLIGREEN;
STICKLINE(VAR6,ZLKP*1.008,ZLKP*1.06,2,0),COLORGREEN;
STICKLINE(ZLJJ REF(ZLJJ,1),0,ZLJJ,2,0),COLORBLACK;
STICKLINE(ZLJJ REF(ZLJJ,1),0,ZLJJ,2,0),COLORBLACK;
STICKLINE(ZLJJ,0,ZLJJ,5,0),COLORBLACK;
STICKLINE(ZLKP 75 AND ZLKP REF(ZLKP,1),ZLKP*1.14,ZLKP,1,0),COLORWHITE;
STICKLINE(VAR8,ZLJJ*0.98,ZLJJ*0.9,2,(-1)),COLORFF8000;
DRAWTEXT_FIX(ISLASTBAR,0.75,0.09,0,30),COLORYELLOW;
{九毛八公式指标网www.9m8.cn}