官方DDE源码+DDE源码合集(大智慧)

下面是笔者曾经收集的dde源码,本人一直就用这个。公式源至网络。

ddx——

INPUT: 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;