发一个 自己常用的指标 分时副图 【分时资金】 通达信分时副图指标 源码 贴图
2019-09-20 10:09:00来源:本站整理浏览:1394
发一个 自己常用的指标 分时副图 【分时资金】 通达信分时副图指标 源码 贴图
资金流入: SUM(IF(C>REF(C,1),C*V,0),FROMOPEN),STICK,COLORRED ,NODRAW;
资金流出:-SUM(IF(C<REF(C,1),C*V,0),FROMOPEN),STICK,COLORGREEN,NODRAW;
资金 :=资金流入+资金流出,COLOR888888;
WW:=资金>0;
QQ:=资金<0;
STICKLINE(资金 AND WW,资金,0,0.0011,-1),COLORRED;
STICKLINE(资金 AND QQ,资金,0,0.0011,-1),COLORCYAN;
资金差:资金流入+资金流出,COLOR555555;{画边缘线}
换手:VOL/CAPITAL*100;
主动买盘:BUYVOL ,COLORLIRED,NODRAW;
主动卖盘:SELLVOL,COLORLIBLUE,NODRAW;
买卖总量:BUYVOL+SELLVOL,COLORMAGENTA,NODRAW;
主动买盘%:=BUYVOL/买卖总量*100;
主动卖盘%:=SELLVOL/买卖总量*100;
DRAWRECTREL(165,30,405,118,RGB(0,0,255));
DRAWRECTREL(165,30,165+2.4*CONST(主动买盘%),118,RGB(255,0,0));
DRAWTEXT_FIX(1,0.058,0.03,0,STRCAT(STRCAT('主动买盘',CON2STR(主动买盘%,2)),'%')),COLORYELLOW;{www.gpxiazai.com}
DRAWTEXT_FIX(1,0.41,0.03,0,STRCAT(STRCAT('主动卖盘',CON2STR(主动卖盘%,2)),'%')),COLORGREEN;
0,COLOR777777;