N1:=3;N2:=5;
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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)