大智慧公式源码 大智慧动态的DDX公式源码
2014-12-25 9:31:15 股票入门 http://rumen.southmoney.com
input:p1(60),p2(5),p3(10);
TODAY:=DYNAINFO(7)=CLOSE and DYNAINFO(10)=AMOUNT; {判断是否当天}
P:=MIN(COUNT(ORDER(2),0),P1);
P:=IF(P=0 and TODAY,1,P);
DD1:=BIGORDER(1)-BIGORDER(2);
DD2:=“DDEDATA@BIGORDER”(1)-“DDEDATA@BIGORDER”(2);
DDX:IF(TODAY,DD2,DD1)*vol/capital*100,COLOR3D;
DDX1:EMA(DDX,p)*p,color00ffff,LINETHICK1;
DDX2:MA(DDX1,p2),colorff00ff,LINETHICK1;
DDX3:MA(DDX1,p3),color00ff00,LINETHICK1;
1,dotline,colorblue;
drawtextabs(0,0,‘大单动向’);
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。