您的位置:查股网 > 查股公式 > 最强悍的资金流入分类叠加主图公式[查股公式]
股票行情消息查询:

最强悍的资金流入分类叠加主图公式[查股公式]

2022/10/25 13:47:02

一、分时图叠加分类持仓


M0:=成交量.净流入#DAY;
 M1:=成交量.超大单#DAY;
 M2:=成交量.大单#DAY;
 M3:=成交量.中单#DAY;
 M4:=成交量.小单#DAY;
 MAXV:=成交量.DAZHI#DAY;
 DRAWRECTREL(1000,CONST(950-(ABS(M4)*500/MAXV)),960,970,IF(CONST(M4)>0,RGB(100,0,0),RGB(0,50,0)));
 DRAWRECTREL(955,CONST(950-(ABS(M3)*500/MAXV)),915,970,IF(CONST(M3)>0,RGB(100,0,0),RGB(0,50,0)));
 DRAWRECTREL(910,CONST(950-(ABS(M2)*500/MAXV)),870,970,IF(CONST(M2)>0,RGB(100,0,0),RGB(0,50,0)));
 DRAWRECTREL(865,CONST(950-(ABS(M1)*500/MAXV)),825,970,IF(CONST(M1)>0,RGB(100,0,0),RGB(0,50,0)));
 DRAWRECTREL(820,CONST(950-(ABS(M0)*500/MAXV)),780,970,IF(CONST(M0)>0,RGB(120,0,120),RGB(0,100,100)));
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.974,1,0,'散户'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.928,1,0,'中户'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.882,1,0,'大户'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.833,1,0,'超大单'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.789,1,0,'净流入'),COLORRED;

DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.789,0.95,0,INTPART(M0)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.834,0.95,0,INTPART(M1)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.882,0.95,0,INTPART(M2)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.926,0.95,0,INTPART(M3)),COLORWHITE;
 DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.972,0.95,0,INTPART(M4)),COLORWHITE;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.726,0.95,0,'今日分类持仓'),COLORYELLOW;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.728,1,0,'单位(万元)'),COLORYELLOW;


二、主图叠加主力进出

超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;
 TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0);
大宗进:=(超B)+(大B),NODRAW;
大宗出:=(超S)+(大S),NODRAW;
非大宗进:=(中B)+(小B),NODRAW;
非大宗出:=(中S)+(小S),NODRAW;
 DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW;
 DRAWRECTREL(0,CONST(950-(ABS(大宗进)*250/DAZHIV)),30,970,IF(CONST(大宗进>0),RGB(255,0,0),RGB(23,125,255)));
 DRAWRECTREL(32,CONST(950-(ABS(大宗出)*250/DAZHIV)),62,970,IF(CONST(大宗出>0),RGB(23,125,255),RGB(255,0,0)));
 DRAWRECTREL(92,CONST(950-(ABS(非大宗进)*250/DAZHIV)),122,970,IF(CONST(非大宗进>0),RGB(255,0,0),RGB(23,125,255)));
 DRAWRECTREL(124,CONST(950-(ABS(非大宗出)*250/DAZHIV)),154,970,IF(CONST(非大宗出>0),RGB(23,125,255),RGB(255,0,0)));
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,'主力进出'),COLORMAGENTA;
 DRAWTEXT_FIX(CURRBARSCOUNT=1,0.107,1,0,'散户进出'),COLORCYAN;

L2行情使用!

相关文章列表
天天查股公式列表

股票公式分类

天天查股:股票行情消息 实时DDX在线 资金流向 千股千评 业绩报告 十大股东 最新消息 超赢数据 大小非解禁 停牌复牌 股票分红查询 股票评级报告
广告客服:315126368   843010021
天天查股网免费查股,本站内容与数据仅供参考,不构成投资建议,据此操作,风险自担,股市有风险,投资需谨慎。 沪ICP备15043930号-29