最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 下载长风数据后DDE还是为0

    正文概述    2024-04-14 09:20:57  

    九毛八公式指标

    请哪位帮我改一下LXDDX指标.没正版数据.下载长风数据后当天总是为0 input:p1(60),p2(5),p3(10); TODAY:= "ddx.ddx"=0; {判断是否当天} P:=MIN(COUNT(ORDER(2),0),P1); P:=IF(P=0 and TODAY,1,P); OK:="DDEDATA@CHECK">=1;{判断数据是否完整} IF OK THEN DDX:=IF(TODAY,"DDEDATA@BIGORDER"(1)-"DDEDATA@BIGORDER"(2),BIGORDER(1)-BIGORDER(2))*vol/capital*100; ELSE DDX:=IF(TODAY,"DDEDATA@DDEDATA"(0),(BIGORDER(1)-BIGORDER(2))*vol/capital*100); DDX:DDX,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,'大单动向');

    公式模块:

    {ddx}

    INPUT: P1(60,0,100),P2(5,0,100),P3(10,0,100); VARIABLE:DDX=0; 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;

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 下载长风数据后DDE还是为0 加入收藏