%>
VAR1:=LLV(LOW,37);
VAR2:=HHV(HIGH,21);
VAR3:=EMA((CLOSE-VAR1)/(VAR2-VAR1)*100,20)*0.998;
100,STICK,LINETHICK7, COLORFFCC33;
90,, COLORred;
95,, COLORyellow;
80, STICK,LINETHICK7, COLORFF9933;
50,STICK,LINETHICK7, COLORBLUE;
20,STICK,LINETHICK7,COLORCC0033;
20,, COLORWHITE;
10,, COLORred,LINETHICK2;
50,, COLORYELLOW;
80,, COLORCYAN;
DRAWTEXT(FILTER(CLOSE>0,25),10,'高安全区'), COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),30,'安全区'), COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),65,'危险区'), COLORWHITE;
DRAWTEXT(FILTER(CLOSE>0,25),88,'极度危险区'), COLORWHITE;
当前安全度: EMA(0.667*REF(VAR3,1)+0.333*VAR3,1),CIRCLEDOT,LINETHICK2 ,COLORRED;
STICKLINE(当前安全度<=13,0,当前安全度,1,1),COLORyellow,LINETHICK3;
STICKLINE(当前安全度>=90,90,当前安全度,1,1),COLORgreen,LINETHICK3;
{股票教程网-http://9188edu.com承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}