版面公式分享:北上资金+今日涨停+主图同花顺概念 通达信指标 源码 贴图
版面公式分享:北上资金+今日涨停+主图同花顺概念 通达信指标 源码 贴图
附件里,有一个主图和两个通达信模板文件
MA5:MA(CLOSE,M1);
MA10:MA(CLOSE,M2);
MA20:MA(CLOSE,M3);
MA60:MA(CLOSE,M4);
昨量比:REF(V/REF(MA(V,5),1),1),COLORRED,NODRAW;
涨停价:ZTPRICE(REF(C,1),0.1),COLORRED,NODRAW;
跌停价:DTPRICE(REF(C,1),0.1),COLOR00A600,NODRAW;
涨停:=CLOSE>=ZTPRICE(REF(CLOSE,1),0.1);
跌停:=CLOSE<=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(涨停,O,C,3,0),COLORRED;
STICKLINE(跌停,O,C,3,0),COLORGREEN;
DRAWTEXT_FIX(1,0.00,0,0,'主题投资:')COLOR00FFFF;
DRAWTEXT_FIX(1,0.07,0,0,EXTERNSTR(0,1))COLOR00FFFF;
KP:=(DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*100;
DRAWTEXT_FIX(1,0.00,0.1,0,STRCAT('开盘:',STRCAT(VAR2STR(KP,2),'%')))COLORWHITE;
{WWW.GPXIAZAI.COM}
JJCJL:=DYNAINFO(15)/DYNAINFO(4)/100;
JJJEDW:=IF(DYNAINFO(15)>10000,'万元','元');
JJJE:=IF(DYNAINFO(15)>10000,CON2STR(DYNAINFO(15)/10000,1),CON2STR(DYNAINFO(15),1));
JJJE1:=STRCAT(JJJE,JJJEDW);
JJ:=STRCAT('竞价:',STRCAT(CON2STR(JJCJL,0),'手'));
JJ1:=STRCAT(JJ,' = ');
DRAWTEXT_FIX(1,0.10,0.1,0,STRCAT(JJ1,JJJE1))COLORWHITE;
DRAWTEXT_FIX(1,0.29,0.1,0,STRCAT(STRCAT('流通市值:',CON2STR(FINANCE(46)*C/100000000,2)),'亿元'))COLORWHITE;
CJE:=DYNAINFO(8)*DYNAINFO(11);
DW:=IF(CJE/1000000>1,'亿','万');
AB:=IF(CJE/1000000>1,CJE/1000000,CJE/100);
DRAWTEXT_FIX(1,0.43,0.1,0,STRCAT(STRCAT('成交额:',CON2STR(AB,2)),DW))COLORWHITE;