股市基本上就是庄家和散户的对决游戏,散户想在庄家这里赚钱,可想而知,分享一个庄家与散货的资金流向指标,希望能给大家一点启示吧
参数:资金背离了 最小 最大 缺省
0 99 20
JGV:=(L2_VOL(0,0) - L2_VOL(0,1))*VOL/1000;
DHV:=(L2_VOL(1,0) - L2_VOL(1,1))*VOL/1000;
ZHV:=(L2_VOL(2,0) - L2_VOL(2,1))*VOL/1000;
SHV:=(L2_VOL(3,0) - L2_VOL(3,1))*VOL/1000;
超B:=L2_AMO(0,2)/100000000.0;
大B:=L2_AMO(1,2)/100000000.0;
中B:=L2_AMO(2,2)/100000000.0;
小B:=L2_AMO(3,2)/100000000.0;
超S:=-L2_AMO(0,3)/100000000.0;
大S:=-L2_AMO(1,3)/100000000.0;
中S:=-L2_AMO(2,3)/100000000.0;
小S:=-L2_AMO(3,3)/100000000.0;
净流入【亿元】:(超B+大B+中B+小B)+(超S+大S+中S+小S),NODRAW;
STICKLINE(净流入【亿元】>0,0,净流入【亿元】,3.2,0),COLOR000033;
STICKLINE(净流入【亿元】>0,0,净流入【亿元】,2.7,0),COLOR000066;
STICKLINE(净流入【亿元】>0,0,净流入【亿元】,2.1,0),COLOR000099;
STICKLINE(净流入【亿元】>0,0,净流入【亿元】,1.5,0),COLOR0000CC;
STICKLINE(净流入【亿元】>0,0,净流入【亿元】,0.9,0),COLOR0000FF;
STICKLINE(净流入【亿元】>0,0,净流入【亿元】,0.1.5,0),COLOR0000FF;
STICKLINE(净流入【亿元】<0,0,净流入【亿元】,3,0),COLORBB3300;
STICKLINE(净流入【亿元】<0,0,净流入【亿元】,2.4,0),COLORFF5500;
STICKLINE(净流入【亿元】<0,0,净流入【亿元】,1.6,0),COLORFF7700;
STICKLINE(净流入【亿元】<0,0,净流入【亿元】,0.8,0),COLORFF9900;
STICKLINE(净流入【亿元】<0,0,净流入【亿元】,0.4,0),COLORFFBB00;
STICKLINE(净流入【亿元】<0,0,净流入【亿元】,0.2,0),COLORFFDD00;
庄家:EMA(JGV,60)*60/CAPITAL,COLORMAGENTA;
游资:EMA(DHV,60)*60/CAPITAL,COLOR3399FF ;
中户:EMA(ZHV,60)*60/CAPITAL,COLORCYAN;
散户:EMA(SHV,60)*60/CAPITAL,COLORGREEN;
庄家上:=庄家>0 AND 庄家>REF(庄家,1);
游资上:=游资>0 AND 游资>REF(游资,1);
庄家控盘: BARSLASTCOUNT(庄家上>0),COLORMAGENTA,NODRAW;
游资控盘: BARSLASTCOUNT(游资上>0),COLOR3399FF,NODRAW;
背离庄家:=庄家>REF(庄家,资金背离) AND C<REF(C,资金背离)NODRAW;
庄家背离:BARSLASTCOUNT(背离庄家>0)COLORMAGENTA NODRAW;
背离游资:=游资>REF(游资,资金背离) AND C<REF(C,资金背离)NODRAW;
游资背离:BARSLASTCOUNT(背离游资>0)COLOR3399FF NODRAW;