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;


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。