用法:显示大盘涨跌幅度,同时对大盘的大阴大阳作标准。个股指数观察同步。自己平时用的
源码
指数: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),”);
document.body.oncopy = function ()
{{ setTimeout( function () { var text = clipboardData.getData(“text”);
if (text) { text = text + “{公式网分享:”+location.href+”}”; clipboardData.setData(“text”, text); } }, 100 ) }}
$(“loadlist”).style.display=”none”;
上一篇:战狼无敌聚财富指标一套(含主图、副图及选股指标) 下一篇:大盘人气(指标 主图 通达信 贴图)无未来
评论(0)