通达信创业板斜率副图指标公式方便观看源码
因为原副图斜率过大,不便于观察,可以用均线做斜率修正 最高:="399006$H"; 开盘:="399006$O"; 最低:="399006$L"; 收盘:="399006$C"; B1:=EMA(收盘,17); 收:=(收盘-B1),NODRAW; 高:=(最高-B1),NODRAW; 低:=(最低-B1),NODRAW; 开:=(开盘-B1),NODRAW; 收幅:(收盘/REF(收盘,1)-1)*100,NODRAW; 高幅:(最高/REF(收盘,1)-1)*100,NODRAW; 低幅:(最低/REF(收盘,1)-1)*100,NODRAW; 开幅:(开盘/REF(收盘,1)-1)*100,NODRAW; 金额:"399006$AMO"/100000000,NODRAW; DRAWKLINE(高,开,低,收); NOTEXTMA5:MA(收,5),COLORWHITE; NOTEXTMA60:MA(收,60),COLORYELLOW; NOTEXTMA120:MA(收,120),COLORGREEN; DRAWTEXT_FIX(1,0.01,0.01,0,'【创业板】'),COLORYELLOW;
移动端首页 | PC端
© by gszx.com.cn Mobile Web
通达信创业板斜率副图指标公式方便观看源码
因为原副图斜率过大,不便于观察,可以用均线做斜率修正
最高:="399006$H";
开盘:="399006$O";
最低:="399006$L";
收盘:="399006$C";
B1:=EMA(收盘,17);
收:=(收盘-B1),NODRAW;
高:=(最高-B1),NODRAW;
低:=(最低-B1),NODRAW;
开:=(开盘-B1),NODRAW;
收幅:(收盘/REF(收盘,1)-1)*100,NODRAW;
高幅:(最高/REF(收盘,1)-1)*100,NODRAW;
低幅:(最低/REF(收盘,1)-1)*100,NODRAW;
开幅:(开盘/REF(收盘,1)-1)*100,NODRAW;
金额:"399006$AMO"/100000000,NODRAW;
DRAWKLINE(高,开,低,收);
NOTEXTMA5:MA(收,5),COLORWHITE;
NOTEXTMA60:MA(收,60),COLORYELLOW;
NOTEXTMA120:MA(收,120),COLORGREEN;
DRAWTEXT_FIX(1,0.01,0.01,0,'【创业板】'),COLORYELLOW;