T+0分时组合(大智慧)

[复制链接]
查看265 | 回复0 | 2021-8-21 14:03:24 | 显示全部楼层 |阅读模式

分时买卖:
MA4:MA(CLOSE,4),PRECIS2;
MA4:="MAB.MA4#day";
MA4P:=(MA4-DYNAINFO(3))/DYNAINFO(3)*100;
zt:=1.1*DYNAINFO(3);
dt:=0.9*DYNAINFO(3);
MA4S:=MA4>dt and MA4<zt;
if(MA4S,MA4,DYNAINFO(7)),DOTLINE,colorwhite;
DRAWTEXT(barstatus=2 and DATATYPE=1 ,DYNAINFO(7),'
'+NUMTOSTRN(100*DYNAINFO(14),1)+'%' ),LINETHICK1,ALIGN0,VALIGN1,colorwhite;
DRAWTEXT(barstatus=2,MA4,'4日: '),linethick2,ALIGN0,VALIGN0,colorwhite;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;
阻力:L1+P1*7/8,DOTLINE,COLOR00DD00;
支撑:L1+P1*0.5/8,DOTLINE,COLOR00DD00;
zz:=filter(count(longcross(支撑,c,1),0)>=2,300) ;
ff:=filter(count(longcross(c,阻力,1),0)>=2,300) ;
drawtext(ff,c,'卖'),Color0000FF;
drawtext(zz,c,'买'),Color00FFFF;


分时大单:
variable:ddx=0;
DDX:(ordervol(1,2)-ordervol(2,2))/capital*100,colorstICK,LINETHICK2;
DDX累积:SUM(ddx,0);
drawtextabs(0,0,'大单动向');


分时小单:
variable:ddxx=0;
ddxx:(ordervol(1,0)-(ordervol(1,3)+ordervol(1,2)+ordervol(1,1))-(ordervol(2,0)-(ordervol(2,3)+ordervol(2,2)+ordervol(2,1))))/capital*100,colorstICK,LINETHICK1;
ddxx累积:SUM(ddxx,0);
drawtextabs(0,0,'小单动向');

202108211319.jpg

202108211319.jpg

 

回复

使用道具 举报

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

本版积分规则