%>
分时买卖:
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,'小单动向');
{股票教程网-http://gpzyw.net承接通达信软件和公式破解,普通加密破解,完全加密破解,导入密码破解,时间限制破解,公式编写,可按您的要求写公式指标,价格按难度不同报价,有需要可以找我们}