借用大智慧“盘口分析”数据,制作出一个《大单买卖图》(提供代码和图)

借用大智慧“盘口分析”数据,制作出一个《大单买卖图》(提供代码和图)

指标名称:《大单买卖图》

当红绿块分别变成一条线的时候,将出现超跌反弹。
 

代码下载:
{大单买卖图}

MR:=BUYVOL*C/100;
ZMR:=SUM(MR,0);
MC:=SELLVOL*C/100;
ZMC:=SUM(MC,0);
RCH:=ZMR+ZMC;
RCC:=ZMR-ZMC;
MR0:=IF(MR<5,MR,0);
ZMR0:=SUM(MR0,0);
MC0:=IF(MC<5 ,MC,0);
ZMC0:=SUM(MC0,0);
MR5:=IF(MR<10 AND MR>=5 ,MR,0);
ZMR5:=SUM(MR5,0);
MC5:=IF(MC<10 AND MC>=5,MC,0);
ZMC5:=SUM(MC5,0);
MR10:=IF(MR<25 AND MR>=10 ,MR,0);
ZMR10:=SUM(MR10,0);
MC10:=IF(MC<25 AND MC>=10 ,MC,0);
ZMC10:=SUM(MC10,0);
MR25:=IF(MR<50 AND MR>=25 ,MR,0);
ZMR25:=SUM(MR25,0);
MC25:=IF(MC<50 AND MC>=25 ,MC,0);
ZMC25:=SUM(MC25,0);
MR50:=IF(MR<75 AND MR>=50 ,MR,0);
ZMR50:=SUM(MR50,0);
MC50:=IF(MC<75 AND MC>=50 ,MC,0);
ZMC50:=SUM(MC50,0);
MR75:=IF(MR<100 AND MR>=75,MR,0);
ZMR75:=SUM(MR75,0);
MC75:=IF(MC<100 AND MC>=75,MC,0);
ZMC75:=SUM(MC75,0);
MR101:=IF(MR>=100 AND MR<200,MR,0);
ZMR100:=SUM(MR101,0);
MC101:=IF(MC>=100 AND MR<200,MC,0),COLORCYAN;
ZMC100:=SUM(MC101,0);
JG:=10*N2;
MR201:=IF(MR>JG ,MR,0),COLORRED;
ZMR200:=SUM(MR201,0);
{n1=1,100,2;n2=1,10,20;}
MC201:=IF(MC>JG,MC,0),COLORCYAN;
ZMC200:=SUM(MC201,0);
MMC200:=ZMR200-ZMC200;
MMC0:=ZMR0-ZMC0;
MMC5:=ZMR5-ZMC5;
MMC10:=ZMR10+ZMR25+ZMR50-ZMC10-ZMC25-ZMC50;
MMC75:=ZMR75+ZMR100-ZMC75-ZMC100;
MRL:=SUM(BUYVOL,0);
MCL:=SUM(SELLVOL,0);
DYDD:=100*N1;
TDDR:=SUM(IF(BUYVOL>800,BUYVOL,0),0);
TDDC:=SUM(IF(SELLVOL>800,SELLVOL,0),0);
DDR:=SUM(IF(BUYVOL>DYDD,BUYVOL,0),0);
DDC:=SUM(IF(SELLVOL>DYDD,SELLVOL,0),0);
XDR:=MRL-DDR;
XDC:=MCL-DDC;
DR:=SUM(IF(BUYVOL>DYDD,BUYVOL,0)*C,0);
DRJ:=DR/DDR;
DC:=SUM(IF(SELLVOL>DYDD,SELLVOL,0)*C,0);
DCJ:=DC/DDC;
散户买:BUYVOL-MR201,NODRAW;
散户卖:SELLVOL-MC201,NODRAW;
DRAWBAND(MR201,255,LLV(MR201,60),255);
DRAWBAND(MC201,RGB(34,139,34),LLV(MC201,60),RGB(34,139,34));
MR100:=INTPART(MR101),LINETHICK2,COLORYELLOW;
MC100:=INTPART(MC101),LINETHICK1;
DDB:INTPART(MR201),LINETHICK2;
DDS:INTPART(MC201),LINETHICK2;




来函数检测结果如下:
该公式没有未来函数

解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图