通达信板块分析指标公式
2021/2/20 19:10:03
A:=REF(HY_INDEXC,1);VAR1:=SMA(HY_INDEXA,10,1)/10000; VAR2:=REF(VAR1,1);
行业涨幅:IF(A>0,(HY_INDEXC-A)*100/A,0),NODRAW;
DRAWTEXT_FIX(ISLASTBAR,0,0,0,HYBLOCK),COLOR00C0C0;
HYDB:=DRAWKLINE(HY_INDEXH,HY_INDEXO,HY_INDEXL,HY_INDEXC);
STICKLINE(VAR1>VAR2,HY_INDEXO,HY_INDEXC,2.5,0),COLORRED;
STICKLINE(VAR1<VAR2,HY_INDEXO,HY_INDEXC,2.5,0),COLORGREEN;
趋势线:MA(HY_INDEXC,20),LINETHICK2,COLORMAGENTA;短线操作线:MA(HY_INDEXC,3),COLORWHITE;
板块指数:HY_INDEXC,LINETHICK0;
IF(趋势线>REF(趋势线,1),趋势线,DRAWNULL),LINETHICK2,COLORMAGENTA;
IF(趋势线<=REF(趋势线,1),趋势线,DRAWNULL),LINETHICK2,COLORCYAN;
涨家数:HY_INDEXADV,NODRAW,COLORRED;跌家数:HY_INDEXDEC,NODRAW,COLORGREEN;
投股票 网 www.tou18.c n
股市公式下载推荐