大盘指数副图源码 通达信 贴图
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2018-10-21 09:52:00
公式简介:
用法:显示大盘涨跌幅度,同时对大盘的大阴大阳作标准。个股指数观察同步。
指数:INDEXC,NODRAW;
涨幅:((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW,COLORYELLOW;%:DRAWNULL,COLORYELLOW;
涨跌:INDEXC-REF(INDEXC,1), NODRAW;
大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
MA1:MA(INDEXC,5),COLORWHITE,LINETHICK1;
MA2:MA(INDEXC,90),COLORRED;
MA3:MA(INDEXC,21)*1.02,COLORGREEN,LINETHICK1;
MA4:MA(INDEXC,90),COLORYELLOW;
ZT:=INDEXC>REF(INDEXC,1)*1.02;
DT:=INDEXC<REF(INDEXC,1)*0.98 ;
STICKLINE(ZT,INDEXC,INDEXO,3,0),COLORRED;
STICKLINE(DT,INDEXC,INDEXO,4,0),COLORGREEN;
BXX:10000000,NODRAW,COLOR000000;
盘顶:HHV("999999$AMOUNT"/100000000,450),COLORWHITE,NODRAW;
CXX:10000000,NODRAW,COLOR000000;
盘日:HHV("999999$AMOUNT"/100000000,1),COLORYELLOW,NODRAW;
DXX:10000000,NODRAW,COLOR000000;
盘地:LLV("999999$AMOUNT"/100000000,250),COLORWHITE,NODRAW;
STICKLINE(盘日=盘顶 AND BARSCOUNT(C)>=250,INDEXC,INDEXO,4,0),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块};
季:=IF(FINANCE(37)=4,'【年度】',IF(FINANCE(37)=3,'【三季】',IF(FINANCE(37)=2,'【二季】','【一季】')));
收益:=IF(1,CON2STR(FINANCE(30)/FINANCE(1),3),'');
[url=http://www.goodgupiao.com/gupiaogongshi/51889.html][B]大盘指数副图源码 通达信 贴图[/B][/url]