通达信两款资金博弈副图指标源码,哪只正确自己拿主意

[复制链接]
查看95 | 回复0 | 2022-7-24 08:14:22 | 显示全部楼层 |阅读模式

通达信两款资金博弈副图指标源码,哪只正确自己拿主意

此两款指标数值都不一样,哪只正确,谁也说不清,今我把它们都做成彩柱式指标图,供朋友们参考使用。有明白资金流分析能力的朋友多提宝贵意见。注意,只适用于5.0公式版的通达信
 

1.下面的指标是根据通达信自带系统指标编制的,据有人认为是错误的,是否正确与否请自行判断。
 

 

 

{今日资金搏弈 根据通达信自带系统指标编制的}
 超B:=L2_AMO(0,2)/10000.0;
 大B:=L2_AMO(1,2)/10000.0;
 中B:=L2_AMO(2,2)/10000.0;
 小B:=L2_AMO(3,2)/10000.0;
 超S:=-L2_AMO(0,3)/10000.0;
 大S:=-L2_AMO(1,3)/10000.0;
 中S:=-L2_AMO(2,3)/10000.0;
 小S:=-L2_AMO(3,3)/10000.0;
 
净流入额:(超B+大B+中B+小B)+(超S+大S+中S+小S),COLORFFFFFF,NODRAW;
 超大单:(超B)+(超S),COLOR00FFFF,NODRAW;
 大单:(大B)+(大S),COLORFF00FF,NODRAW;
 大宗流入:(超大单+大单),COLOR00FF00,NODRAW;
 中单:(中B)+(中S),COLOR0085FF,NODRAW;
 小单:(小B)+(小S),COLOR0000FF,NODRAW;
 成交金额X10万元:AMOUNT/100000,COLOR00FFFF,NODRAW;
 
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,65,60),CONST(净流入额),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,55,50),CONST(超大单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,45,40),CONST(大单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,35,30),CONST(大宗流入),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,25,20),CONST(中单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,15,10),CONST(小单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,5,0),CONST(成交金额X10万元),DRAWNULL),RGB(238,250,0),0,DRAWNULL);
 
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,65,60),CONST(-净流入额),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,55,50),CONST(-超大单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,45,40),CONST(-大单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,35,30),CONST(-大宗流入),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,25,20),CONST(-中单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,15,10),CONST(-小单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 
DRAWTEXT(CURRBARSCOUNT=110,20,'                                绿柱流出。大宗流入=超大单+单'),COLOR00FF00;
 DRAWTEXT(CURRBARSCOUNT=110,20,'说明:红柱流入,'),COLOR0000FF;
 DRAWTEXT(CURRBARSCOUNT=65,-40,'净流入额'),COLORFFFFFF;
 DRAWTEXT(CURRBARSCOUNT=54,-40,'超 大 单'),COLOR00FFFF;
 DRAWTEXT(CURRBARSCOUNT=44,-40,'大     单'),COLORFF00FF;
 DRAWTEXT(CURRBARSCOUNT=35,-40,'大宗流入'),COLOR00FF00;
 DRAWTEXT(CURRBARSCOUNT=24,-40,'中     单'),COLOR0085FF;
 DRAWTEXT(CURRBARSCOUNT=14,-40,'小     单'),COLOR0000FF;
 DRAWTEXT(CURRBARSCOUNT=7,-20,'总成交金额'),COLORFFFFFF;
 
2. 下面的资金博弈是根据博主阿木提供的资金博弈指标进行改编的,是否正确请自酌。
 

 

 

{阿木资金博弈 根据博主阿木提供的资金博弈指标}
 超B:=L2_AMO(0,0)/10000.0;
 大B:=L2_AMO(1,0)/10000.0;
 中B:=L2_AMO(2,0)/10000.0;
 小B:=L2_AMO(3,0)/10000.0;
 超S:=-L2_AMO(0,1)/10000.0;
 大S:=-L2_AMO(1,1)/10000.0;
 中S:=-L2_AMO(2,1)/10000.0;
 小S:=-L2_AMO(3,1)/10000.0;
 净流入额:(超B+大B+超S+大S),COLORFFFFFF,NODRAW;
 超大单:(超B)+(超S),COLOR00FFFF,NODRAW;
 大单:(大B)+(大S),COLORFF00FF,NODRAW;
 大宗流入:(超大单+大单),COLOR00FF00,NODRAW;
 中单:(中B)+(中S),COLOR0085FF,NODRAW;
 小单:(小B)+(小S),COLOR0000FF,NODRAW;
 成交金额X10万元:AMOUNT/100000,COLOR00FFFF,NODRAW;
 
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,65,60),CONST(净流入额),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,55,50),CONST(超大单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,45,40),CONST(大单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,35,30),CONST(大宗流入),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,25,20),CONST(中单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,15,10),CONST(小单),DRAWNULL),RGB(150,10,0),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,5,0),CONST(成交金额X10万元),DRAWNULL),RGB(238,250,0),0,DRAWNULL);
 
DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,65,60),CONST(-净流入额),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,55,50),CONST(-超大单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,45,40),CONST(-大单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,35,30),CONST(-大宗流入),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,25,20),CONST(-中单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 DRAWBAND(IF(BETWEEN(CURRBARSCOUNT,15,10),CONST(-小单),DRAWNULL),RGB(0,255,255),0,DRAWNULL);
 
DRAWTEXT(CURRBARSCOUNT=110,20,'                                绿柱流出。大宗流入=超大单+大单'),COLOR00FF00;
 DRAWTEXT(CURRBARSCOUNT=110,20,'说明:红柱流入,'),COLOR0000FF;
 DRAWTEXT(CURRBARSCOUNT=66,-20,'净流入额'),COLORFFFFFF;
 DRAWTEXT(CURRBARSCOUNT=55,-20,'超 大 单'),COLOR00FFFF;
 DRAWTEXT(CURRBARSCOUNT=45,-20,'大     单'),COLORFF00FF;
 DRAWTEXT(CURRBARSCOUNT=35,-20,'大宗流入'),COLOR00FF00;
 DRAWTEXT(CURRBARSCOUNT=25,-20,'中     单'),COLOR0085FF;
 DRAWTEXT(CURRBARSCOUNT=15,-20,'小    单'),COLOR0000FF;
 DRAWTEXT(CURRBARSCOUNT=7,-20,'总成交金额'),COLORFFFFFF;

1243411485.jpg

1243411485.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则