通信达公式指标大全 通达信主图叠加重要个股信息(2)
曾跌停:=REF(C,1)/L-1>=NE-0.01/REF(C,1) AND L<C AND PERIOD=5;
STICKLINE(曾跌停,L+(MIN(O,C)-L),L,0,0),COLOR00BB00;
涨停开盘:=O/REF(C,1)-1>=NE-0.01/REF(C,1) AND O=H AND PERIOD=5;{阴阳线的十分之一变色}
STICKLINE(涨停开盘,C+(O-C)*0.9,O,-1,0),COLORFF00F5;
跌停开盘:=REF(C,1)/O-1>=NE-0.01/REF(C,1) AND L=O AND PERIOD=5;
STICKLINE(跌停开盘,C-(C-O)*0.9,O,-1,0),COLOR00FF00;
总市值:=STRCAT(STRCAT('市值 ',CON2STR((TOTALCAPITAL/1000000)*C,0)),'亿 ');
流通值:=STRCAT(STRCAT('流通 ',CON2STR((CAPITAL/1000000)*C,0)),'亿');
DRAWTEXT_FIX(ISLASTBAR,0.005,0.04,0,STRCAT(HYBLOCK,STRCAT(' ',GNBLOCK))),COLORFFAA00;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.10,0,STRCAT(总市值,流通值)),COLORFFAA00;
涨股:=STRCAT(CON2STR(DYNAINFO(60),0),'股上涨');
跌股:=STRCAT(CON2STR(DYNAINFO(61),0),'股下跌');
DRAWTEXT_FIX(ISLASTBAR,0.8,0.86,0,涨股),COLOR3030FF;
DRAWTEXT_FIX(ISLASTBAR,0.8,0.92,0,跌股),COLORGREEN;
更多股票公式相关资讯请关注南方财富网
(股票知识网zhishi.southmoney.com)