风险刻度指标 (源码)

2012-03-20 08:45:00来源:本站整理浏览:249

通达信风险刻度指标公式股票软件源码如下:

VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,21);
VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*100,21)*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,'安全一区'),COLORRED;
DRAWTEXT(FILTER(CLOSE>0,25),30,'安全二区'),COLORRED;
DRAWTEXT(FILTER(CLOSE>0,25),65,'危险一区'),COLORFF00FF;
DRAWTEXT(FILTER(CLOSE>0,25),88,'危险二区'),COLORFF00FF;
当前风险度数: 100-EMA(0.667*REF(VAR4,1)+0.333*VAR4,1),CIRCLEDOT,LINETHICK2 ,COLORYELLOW;

通达信风险刻度指标公式

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式