大智慧仿飞狐MA均线指标,可以调节均线条数(大智慧),官方DDE源码+DDE源码合集(大智慧)
admin888
|大智慧仿飞狐MA均线指标,可以调节均线条数(大智慧),官方DDE源码+DDE源码合集(大智慧)
大智慧仿飞狐MA均线指标,可以调节均线条数(大智慧)
{大智慧仿飞狐ma均线指标-------可以调节均线条数}
INPUT:P1(5,0,9999), P2(10,0,9999),P3(20,0,9999),P4(30,0,9999),P5(40,0,9999),P6(60,0,9999),P7(90,0,9999),P8(120,0,9999),P9(240,0,9999),P10(360,0,9999),N(2,0,10);
wx:=VARP( 10, 0);
M1:MA(CLOSE,P1)*if(n<1,wx,1);
M2:MA(CLOSE,P2)*if(n<2,wx,1);
M3:MA(CLOSE,P3)*if(n<3,wx,1);
M4:MA(CLOSE,P4)*if(n<4,wx,1);
M5:MA(CLOSE,P5)*if(n<5,wx,1);
M6:MA(CLOSE,P6)*if(n<6,wx,1);
M7:MA(CLOSE,P7)*if(n<7,wx,1);
M8:MA(CLOSE,P8)*if(n<8,wx,1);
M9:MA(CLOSE,P9)*if(n<9,wx,1);
M10:MA(CLOSE,P10)*if(n<10,wx,1);
{将下面的内容粘贴到参数精灵里显示 Param#11条均线;
M1 Param#1日均线; M2 Param#
2日均线;
3日均线; M4 Param#
4日均线;M5 Param#
5日均线; M6 Param#6日均线;
M7 Param#7日均线; M8 Param#8日均线;
M9 Param#9日均线; M10 Param#
10日均线;}
官方DDE源码+DDE源码合集(大智慧)
下面是笔者曾经收集的dde源码,本人一直就用这个。公式源至网络。ddx??NPUT: P1(60,0,100),P2(5,0,100),P3(10,0,100);
REFLINE:0;
VAR0:=MIN(COUNT(ORDER(2),0),P1);
DDX:(BIGORDER(1) - BIGORDER(2)) *vol/CAPITAL * 100,COLOR3D;
DDX1:ema((BIGORDER(1) - BIGORDER(2)) * VOL/CAPITAL * 100,VAR0) * VAR0;
DDX2:ma(DDX1,P2);
DDX3:MA(DDX1,P3);
DRAWTEXTAbs(0,0,'大单动向');
1,DOTLINE;
DDY??INPUT: P1(60,0,100),P2(5,0,100),P3(10,0,100);
REFLINE:0;
VAR0:=MIN(COUNT(ORDER(2),0),P1);
VAR1:=EMA((2 - BIGORDER(1) - BIGORDER(2)) * VOL/(ORDER(1) + ORDER(2)),60);
DDY:(ORDER(2) - ORDER(1))/CAPITAL * VAR1 * 100,COLOR3D;
DDY1:EMA((ORDER(2) - ORDER(1))/CAPITAL * VAR1 * 100,VAR0) * VAR0;
DDY2:MA(DDY1,P2);
DDY3:MA(DDY1,P3);
DRAWTEXTABS(0,0,'涨跌动因');
1,DOTLINE;
DDZ??REFLINE:0;
VAR0:=BIGORDER(1) * VOL/ORDER(1);
VAR1:=BIGORDER(2) * VOL/ORDER(2);
VAR2:=2 * VOL/(ORDER(1) + ORDER(2));
DDZ:(VAR0 - VAR1)/VAR2 * 100,COLORWHITE;
FLOATRGN((VAR0 - VAR1)/VAR2 * 100,VAR0 - VAR1,VAR0 > VAR1,RGB(255,0,0),VAR0 < VAR1,RGB(0,255,0));
DRAWTEXTABS(0,0,'大单差分');
ddyinput:p1(60),p2(5),p3(10);
DDy:(ORDER(2)-ORDER(1))/CAPITAL*100,COLORstICK,linethick2;
DDy1:ema(DDy,p1)*p1;
DDy2:MA(DDy1,p2);
DDy3:MA(DDy1,p3);
0.1,DOTLINE,colorblue;
DRAWTEXTABS(0,0,'涨跌动因');
ddxinput:p1(60),p2(5),p3(10);
refline:0;
DDX:(BIGORDER(1)-BIGORDER(2))*VOL/CAPITAL*100,COLORSTICK,linethick2;
DDX1:ema(DDX,p1)*60.177;
DDX2:MA(DDX1,p2);
DDX3:MA(DDX1,p3);
DRAWTEXTABS(0,0,'大单动向');
ddzDDZ:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*200;
DDZ1:=(ORDER(2)-ORDER(1))/(ORDER(2)+ORDER(1))*170;
FILLRGN(DDZ,DDZ1,DDZ>DDZ1,RGB(255,0,0),DDZ
DRAWTEXTABS(0,0,'大单分差');
还有分时的DDEDDXinput:p1(60),p2(5),p3(10);
variable:ddx=0;
DDX:(ordervol(1,2)-ordervol(2,2))/capital*100,colorstICK,LINETHICK2;
DDX累积:SUM(ddx,0);
drawtextabs(0,0,'大单动向');
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。