MACD均线主图 把macd融合在主图中 通达信主图指标 源码 贴图
{MACD均线主图}C1:=REF(C,1);
涨停:=IF(REF(C,1)*1.1-C 0.01,1,0);
STICKLINE(涨停,H,L,0,0),COLORCC00CC;
STICKLINE(涨停,OPEN,CLOSE,0,0),COLORCC00CC;
STICKLINE(涨停,OPEN,CLOSE,3,0),COLORCC00CC;
C2:=REF(C,1);
跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0);
STICKLINE(跌停,H,L,0,0),COLORFF3300;
STICKLINE(跌停,OPEN,CLOSE,0,0),COLORFF3300;
STICKLINE(跌停,OPEN,CLOSE,3,0),COLORFF3300;
EMA8:EMA(CLOSE,8),COLORYELLOW;
EMA21:EMA(CLOSE,21),COLORFF00FF;
MA89:MA(CLOSE,89),COLOR007700,LINETHICK2;
MA200:MA(CLOSE,200),COLOR0099FF,LINETHICK2;
EMA365:EMA(CLOSE,365),COLOR999999;
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,DYBLOCK);
Z3:=STRCAT(Z2,' ');{www.9m8.cn 九毛八公式指标网}
DRAWTEXT_FIX(ISLASTBAR,0,10,0,STRCAT(Z3,GNBLOCK)),COLORYELLOW;
流通市值:(FINANCE(40)/100000000),NODRAW,COLORYELLOW;