VAR3:=MA(CLOSE,13);
VAR4:=100-Abs((CLOSE-VAR3)/VAR3*100);
筹码:=MA(WINNER(CLOSE*0.95)*100,1),COLORRED;
VARD:=筹码>VAR4;
DRAWNUMBER(VARD AND VAR4>REF(VAR4,1) AND REF(VARD,1)>0,VAR4+20,ROUND(VAR4)) COLORCYAN;
DRAWNUMBER(VARD,VAR4+20,ROUND(VAR4)) COLORCYAN;
STICKLINE(VARD,VAR4,0,2,0),COLORMAGENTA;
STICKLINE(VARD AND VAR4>REF(VAR4,1) AND REF(VARD,1)>0,VAR4,0,2,0),COLORGREEN;
DRAWTEXT(VARD AND VAR4>REF(VAR4,1) AND REF(VARD,1)>0,VAR4+30,'风险'),COLORGREEN;
DRAWTEXT(VARD AND VAR4>REF(VAR4,1) AND REF(VARD,1)>0,VAR4+60,'注意'),COLORGREEN;