实时【分时资金进出】 盯盘必备 通达信分时副图指标
资金流入: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;
资金:=资金流入+资金流出,COLORYELLOW;
WW:=资金>0;
QQ:=资金<0;
STICKLINE(资金 AND WW,资金,0,0.0011,0),COLORRED;
STICKLINE(资金 AND QQ,资金,0,0.0011,0),COLORCYAN;
资金差:资金流入+资金流出,COLORYELLOW;
换手: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;
DRAWTEXT_FIX(1,0.41,0.03,0,STRCAT(STRCAT('主动卖盘',CON2STR(主动卖盘%,2)),'%')),COLORGREEN;
0,COLORWHITE;
- 上一篇:通达信大盘神针指标公式 2016/10/7
- 下一篇:通达信黄金分割线主图指标 2016/10/7