Var2:=LLV(LOW,33);
Var3:=HHV(HIGH,21);
Var4:=EMA((CLOSE-Var2)/(Var3-Var2)*100,20)*0.998;
100,stick,LINETHICK7, COLORffcc33;
80, stick,LINETHICK7, COLORFF9933;
50,stick,LINETHICK7, colorblue;
20,stick,LINETHICK7,colorcc0033;
20, COLORWHITE;
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;
当前安全度: 100-EMA(0.667*REF(Var4,1)+0.333*Var4,1),circledot,linethick2 ,COLORRED;
【股票入门与技巧】【通达信】安全度指标公式
特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。