博弈VOL3 可能是最强成交量副图 带大单资金近5日资金等 源码不加密

 



{沪深_上涨_下跌_具体数据}
上涨家数:=STRCAT('▇沪深上涨家数:',CON2STR(DYNAINFO(60),0));
下跌家数:=STRCAT('▇沪深下跌家数:',CON2STR(DYNAINFO(61),0));
上涨百分比:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100;
下跌百分比:=DYNAINFO(61)/(DYNAINFO(60)+DYNAINFO(61))*100;
DRAWTEXT_FIX(1,0.35,0.07,0,上涨家数),COLORRED;
DRAWTEXT_FIX(1,0.44,0.07,0,STRCAT(STRCAT('(',VAR2STR(上涨百分比,2)),'%)')),COLORRED;
DRAWTEXT_FIX(1,0.50,0.07,0,下跌家数),COLORGREEN;
DRAWTEXT_FIX(1,0.59,0.07,0,STRCAT(STRCAT('(',VAR2STR(下跌百分比,2)),'%)')),COLORGREEN;


{VOLUME:VOL,VOLSTICK,COLORYELLOW;}

NOTEXT量:VOL,VOLSTICK,COLORLIGRAY;

{主动买卖成交量}
STICKLINE(C>=O,0,V,2.5,1),COLOR0000FF;
STICKLINE(C<O,0,V,2.5,1),COLORAA7700;

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,NODRAW;
{主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORGREEN,NODRAW;}
STICKLINE(主动买盘>0,0,主动买盘,1.5,0),COLOR0080FF;
{好股票zbgs3.com整理}

流通市值亿:ROUND(FINANCE(40)/100000000),NODRAW,COLORCCCCCC;
流通股本:FINANCE(7)/100000000,NODRAW,COLORCCCCCC;
总市值亿:ROUND(FINANCE(41)/100000000),NODRAW,COLOR0099FF;
总股本:FINANCE(1)/100000000,NODRAW,COLOR0099FF;


成交额亿:AMOUNT/100000000,NODRAW,COLORYELLOW;
换手:VOL/CAPITAL*100,COLORYELLOW,NODRAW;
换手Z:DYNAINFO(8)*10000/FINANCE(46),NODRAW,COLOR0099FF;
全换手周期: SUMBARS(V,CAPITAL),NODRAW,COLORLIGREEN;


JYGOLD:=V==HHV(V,60);{ 60日最高量 }
NOTEXTGV:VALUEWHEN(JYGOLD,V),COLORYELLOW,CROSSDOT;{ 60日最高量当天的成交量 }

{
STICKLINE(JYGOLD,V,O,1.6,0),COLOR0088BB;
STICKLINE(JYGOLD,V,O,0.8,0),COLOR00BBEE;
}

几倍: V/REF(V,1),COLORYELLOW,NODRAW;
倍数:=2.5;
NOTEXT倍量: VOL>=REF(V,1)*倍数 AND (IF(C<O,C>REF(C,1),1)),COLORYELLOW,NODRAW;
V1:=VOL*0.95;{图标位置}
STICKLINE(NOTEXT倍量, 0,V1/2,1.8,0),COLORYELLOW;


{----------------------------- 以 下 资 金 博 弈 -----------------------------}

{资金博弈今日持仓}
DRAWRECTREL(0,0,350,400,IF(120,RGB(36,36,36),0))NOFRAME;
超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;{好股票zbgs3.com整理}
TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0);
总流入比:=(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW,COLORWHITE;
大单流入:=(超B+大B)/(超B+大B+超S+大S)*100,NODRAW,COLORWHITE;
大单流入限制:=IF((超B+大B+超S+大S)=0,0,大单流入);
成交总量:=(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW,COLORWHITE;
机构参与度:=(超B+超S+大B+大S)/成交总量*100,NODRAW,COLORWHITE;
主买A:=ACTINVOL,COLORRED,NODRAW;
主卖A:=ACTOUTVOL,COLORGREEN,NODRAW;
主买C:=主买A*100/(主买A+主卖A),NODRAW,COLORRED;

{文字}
DRAWTEXT_FIX(1,0.08,0.07,0,STRCAT(STRCAT('大单流入比: ',CON2STR(大单流入限制,2)),' %')),COLORWHITE;




{L2资金博弈}
DRAWRECTREL(0,400,188,999,IF(120,RGB(50,50,50),0))NOFRAME;
{超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),NODRAW;
超大单:=(超B)-(超S),NODRAW;
大单:=(大B)-(大S),NODRAW;
中单:=(中B)-(中S),NODRAW;
小单:=(小B)-(小S),NODRAW;{好股票zbgs3.com整理}
DAZHI:=CONST(MAX(ABS(净流入),MAX(ABS(超大单),MAX(ABS(大单),MAX(ABS(中单),ABS(小单)))))),NODRAW;
DRAWRECTREL(5,CONST(750-(ABS(净流入)*500/DAZHI)),33,950,IF(CONST(净流入)>0,RGB(236,48,129),RGB(51,153,204)))NOFRAME;
DRAWRECTREL(41,CONST(750-(ABS(超大单)*500/DAZHI)),69,950,IF(CONST(超大单)>0,RGB(243,83,81),RGB(50,185,84)))NOFRAME;
DRAWRECTREL(77,CONST(750-(ABS(大单)*500/DAZHI)),105,950,IF(CONST(大单)>0,RGB(243,83,81),RGB(50,185,87)))NOFRAME;
DRAWRECTREL(113,CONST(750-(ABS(中单)*500/DAZHI)),141,950,IF(CONST(中单)>0,RGB(243,83,81),RGB(50,185,87)))NOFRAME;
DRAWRECTREL(149,CONST(750-(ABS(小单)*500/DAZHI)),177,950,IF(CONST(小单)>0,RGB(243,83,81),RGB(50,185,87)))NOFRAME;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.006,0.07,0,'今日资金 单位:万元'),COLORCYAN;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.006,0.51,0,INTPART(净流入)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.043,0.58,0,INTPART(超大单)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.078,0.65,0,INTPART(大单)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.115,0.72,0,INTPART(中单)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.152,0.79,0,INTPART(小单)),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.006,0.98,0,'净流入'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.040,0.98,0,'超大单'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.080,0.98,0,'大单'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.116,0.98,0,'中单'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.153,0.98,0,'小单'),COLORWHITE;

{L2资金N天统计}
N:=5;{默认5天}
DRAWRECTREL(350,400,188,999,IF(120,RGB(50,50,0),0))NOFRAME;
{超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);
超大单:=(超B)-(超S);
大单:=(大B)-(大S);
中单:=(中B)-(中S);
小单:=(小B)-(小S);}
净流入N天和:=SUM(净流入,N);
超大单N天和:=SUM(超大单,N);
大单N天和:=SUM(大单,N);
中单N天和:=SUM(中单,N);
小单N天和:=SUM(小单,N);
DAZHIX:=CONST(MAX(ABS(净流入N天和),MAX(ABS(超大单N天和),MAX(ABS(大单N天和),MAX(ABS(中单N天和),ABS(小单N天和)))))),NODRAW;
DRAWRECTREL(230,CONST(750-(ABS(净流入N天和)*500/DAZHIX)),245,950,IF(CONST(净流入N天和)>0,RGB(192,0,64),RGB(0,128,128)))NOFRAME;
DRAWRECTREL(255,CONST(750-(ABS(超大单N天和)*500/DAZHIX)),270,950,IF(CONST(超大单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME;
DRAWRECTREL(280,CONST(750-(ABS(大单N天和)*500/DAZHIX)),295,950,IF(CONST(大单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME;
DRAWRECTREL(305,CONST(750-(ABS(中单N天和)*500/DAZHIX)),320,950,IF(CONST(中单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME;
DRAWRECTREL(330,CONST(750-(ABS(小单N天和)*500/DAZHIX)),345,950,IF(CONST(小单N天和)>0,RGB(180,0,0),RGB(32,128,32)))NOFRAME;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.225,0.48,0,INTPART(净流入N天和)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.250,0.56,0,INTPART(超大单N天和)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.275,0.64,0,INTPART(大单N天和)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.300,0.72,0,INTPART(中单N天和)),COLORWHITE;
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.325,0.80,0,INTPART(小单N天和)),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.233,0.98,0,'净'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.257,0.98,0,'超'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.283,0.98,0,'大'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.307,0.98,0,'中'),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.333,0.98,0,'小'),COLORWHITE;

DRAWTEXT_FIX(CURRBARSCOUNT=1,0.23,0.07,0,'近5日资金 单位:万元'),COLORCCCCCC;



来函数检测结果如下
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
该公式包含未来函数:FINANCE

解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

上涨家数赋值:字符串相加
下跌家数赋值:字符串相加
上涨百分比赋值:沪深京总上涨家数/(沪深京总上涨家数+沪深京总下跌家数)*100
下跌百分比赋值:沪深京总下跌家数/(沪深京总上涨家数+沪深京总下跌家数)*100
当满足条件1时,在横轴0.35纵轴0.07位置书写文字,画红色
当满足条件1时,在横轴0.44纵轴0.07位置书写文字,画红色
当满足条件1时,在横轴0.50纵轴0.07位置书写文字,画绿色
当满足条件1时,在横轴0.59纵轴0.07位置书写文字,画绿色
输出NOTEXT量:成交量(手),VOLSTICK,画淡灰色
当满足条件收盘价>=开盘价时,在0和成交量(手)位置之间画柱状线,宽度为2.5,1不为0则画空心柱.,COLOR0000FF
当满足条件收阴线时,在0和成交量(手)位置之间画柱状线,宽度为2.5,1不为0则画空心柱.,COLORAA7700
VAR1赋值:成交量(手)/((最高价-最低价)*2-收盘价-开盘价的绝对值)
主动买盘赋值:如果收阳线,返回VAR1*(最高价-最低价),否则返回如果收阴线,返回VAR1*((最高价-开盘价)+(收盘价-最低价)),否则返回成交量(手)/2,画红色,NODRAW
当满足条件主动买盘>0时,在0和主动买盘位置之间画柱状线,宽度为1.5,0不为0则画空心柱.,COLOR0080FF
输出流通市值亿:对流通市值/100000000(进行)四舍五入,NODRAW,COLORCCCCCC
输出流通股本:流通股本(股)/100000000,NODRAW,COLORCCCCCC
输出总市值亿:对AB股总市值/100000000(进行)四舍五入,NODRAW,COLOR0099FF
输出总股本:总股本(股)/100000000,NODRAW,COLOR0099FF
输出成交额亿:成交额(元)/100000000,NODRAW,画黄色
输出换手:成交量(手)/当前流通股本(手)*100,画黄色,NODRAW
输出换手Z:总量*10000/自由流通股本(股),NODRAW,COLOR0099FF
输出全换手周期: 成交量(手)累加至当前流通股本(手)的天数,NODRAW,画淡绿色
JYGOLD赋值:成交量(手)赋值:60日内成交量(手)的最高值
输出NOTEXTGV:如果JYGOLD,返回成交量(手),否则返回上个输出值,画黄色,CROSSDOT
输出几倍: 成交量(手)/1日前的成交量(手),画黄色,NODRAW
倍数赋值:2.5
输出NOTEXT倍量: 成交量(手)>=1日前的成交量(手)*倍数 AND (如果收阴线,返回收盘价>1日前的收盘价,否则返回1),画黄色,NODRAW
V1赋值:成交量(手)*0.95
当满足条件NOTEXT倍量时,在0和V1/2位置之间画柱状线,宽度为1.8,0不为0则画空心柱.,画黄色
相对位置上画矩形不显示边框
超B赋值:成交额分档/10000.0
大B赋值:成交额分档/10000.0
中B赋值:成交额分档/10000.0
小B赋值:成交额分档/10000.0
超S赋值:成交额分档/10000.0
大S赋值:成交额分档/10000.0
中S赋值:成交额分档/10000.0
小S赋值:成交额分档/10000.0
如果满足条件取反不等于0,公式返回
总流入比赋值:(超B+大B+中B+小B)/(超B+大B+中B+小B+超S+大S+中S+小S)*100,NODRAW,画白色
大单流入赋值:(超B+大B)/(超B+大B+超S+大S)*100,NODRAW,画白色
大单流入限制赋值:如果(超B+大B+超S+大S)=0,返回0,否则返回大单流入
成交总量赋值:(超B+大B+中B+小B+超S+大S+中S+小S),NODRAW,画白色
机构参与度赋值:(超B+超S+大B+大S)/成交总量*100,NODRAW,画白色
主买A赋值:主动买成交量,画红色,NODRAW
主卖A赋值:主动卖成交量,画绿色,NODRAW
主买C赋值:主买A*100/(主买A+主卖A),NODRAW,画红色
当满足条件1时,在横轴0.08纵轴0.07位置书写文字,画白色
相对位置上画矩形不显示边框
净流入赋值:(超B+大B+中B+小B)-(超S+大S+中S+小S),NODRAW
超大单赋值:(超B)-(超S),NODRAW
大单赋值:(大B)-(大S),NODRAW
中单赋值:(中B)-(中S),NODRAW
小单赋值:(小B)-(小S),NODRAW
DAZHI赋值:净流入的绝对值和超大单的绝对值和大单的绝对值和中单的绝对值和小单的绝对值的较大值的较大值的较大值的较大值的最后一日取值设为常数,NODRAW
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
当满足条件到最后交易的周期=1时,在横轴0.006纵轴0.07位置书写文字,画青色
当满足条件到最后交易的周期=1时,在横轴0.006纵轴0.51位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.043纵轴0.58位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.078纵轴0.65位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.115纵轴0.72位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.152纵轴0.79位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.006纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.040纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.080纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.116纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.153纵轴0.98位置书写文字,画白色
N赋值:5
相对位置上画矩形不显示边框
净流入N天和赋值:净流入的N日累和
超大单N天和赋值:超大单的N日累和
大单N天和赋值:大单的N日累和
中单N天和赋值:中单的N日累和
小单N天和赋值:小单的N日累和
DAZHIX赋值:净流入N天和的绝对值和超大单N天和的绝对值和大单N天和的绝对值和中单N天和的绝对值和小单N天和的绝对值的较大值的较大值的较大值的较大值的最后一日取值设为常数,NODRAW
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
相对位置上画矩形不显示边框
当满足条件到最后交易的周期=1时,在横轴0.225纵轴0.48位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.250纵轴0.56位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.275纵轴0.64位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.300纵轴0.72位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.325纵轴0.80位置书写数字,画白色
当满足条件到最后交易的周期=1时,在横轴0.233纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.257纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.283纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.307纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.333纵轴0.98位置书写文字,画白色
当满足条件到最后交易的周期=1时,在横轴0.23纵轴0.07位置书写文字,COLORCCCCCC

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图