您的当前位置:首页正文

通达信指标公式源码 大盘K线副图指标

2024-01-30 来源:爱站旅游
导读通达信指标公式源码 大盘K线副图指标


指数:INDEXC,NODRAW;

涨幅:((INDEXC/REF(INDEXC,1))-1)* NODRAW,COLORGREEN;%:DRAWNULL,COLORYELLOW;

涨跌:INDEXC-REF(INDEXC,1), NODRAW;

大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);

MA1:MA(INDEXC,5),COLORBLACK,LINETHICK1;

MA2:MA(INDEXC,10),COLORRED;

MA3:MA(INDEXC,120)*1.02,COLORGREEN,LINETHICK1;

100,

MA4:MA(INDEXC,250),COLORBLACK;

ZT:=INDEXC>REF(INDEXC,1)*1.02;

DT:=INDEXCSTICKLINE(ZT,INDEXC,INDEXO,3,0),COLORRED;

STICKLINE(DT,INDEXC,INDEXO,4,0),COLORGREEN;

BXX:10000000,NODRAW,COLOR000000;

盘顶:HHV(\"999999$AMOUNT\"/100000000,450),COLORRED,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),'');

因篇幅问题不能全部显示,请点此查看更多更全内容