新闻 | 财经 | 证券 | 经济 | 基金 | 能源 | 科技 | 宏观 | 房产 | 期货 | 理财 | 汽车 | 配资 | 黄金 | 法治 | 原创 | 头条
大盘副图

发稿时间:2019-08-04 00:22:40 来源:未知

用法:显示大盘涨跌幅度,同时对大盘的大阴大阳作标准。个股指数观察同步。自己平时用的

指数: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;
{分析家公式网www.88gs.com}
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),'');

责任编辑:夏晨风

新浪微博      财经界

猜你喜欢