也不保守了,自己喜欢的拿出来和朋友们分享吧!
首先说明本“监测资金”指标不是用 L2 分时数据的,因为我们用的是普通版本的证券软件,不是收费版,所以数据会有出入,敬请谅解!
本指标图中柱线:红为买方,绿为卖方,图中红绿色带为买或卖的净量。
图上方为资金流量比彩条显示。
指标中有用法注释。
资金流入:SUM(IF(C>REF(C,1),C*V,0),FROMOPEN),STICK,COLORRED}{,NODRAW};
资金流出:-SUM(IF(C
进出:资金流入+资金流出,COLORYELLOW;
DRAWBAND(进出,RGB(160,0,80),0,RGB(0,100,0));
WW:=进出>0;{www.goodgupiao.com}
QQ:=进出<0;
STICKLINE(进出 AND WW,进出,0,0.0011,0),COLORRED;
STICKLINE(进出 AND QQ,进出,0,0.0011,0),COLORCYAN;
资金比:=进出/SUM(C*V,FROMOPEN)*100;
量比:=V/REF(MA(V,5),1),COLORLIRED;
{价位关系}
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,COLORCC9900;
支撑:L1+P1*0.5/8,COLOR3366FF;
均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW;
现价:CLOSE,COLORWHITE;
资金流量比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));
DRAWRECTREL(418,30,588,118,RGB(0,75,200));{蓝条}
DRAWRECTREL(418,30,418+1.8*CONST(资金流量比),118,RGB(200,50,0));{红条}
DRAWTEXT_FIX(1,0.27,0.03,0,STRCAT(STRCAT('资金流量比:',CON2STR(资金流量比,2)),'%进')),COLORYELLOW;
DRAWTEXT_FIX(1,0.60,0.03,0,STRCAT(STRCAT('出:',CON2STR(100-资金流量比,2)),'%')),COLORYELLOW;