当前位置:→ 公式网 > 通达信公式 > 正文 ℃ 公式解密、改选股等业务 联系点击查看详情...
以下是破解DDE排序指标以及选股(无源码的请下载附件导入)
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {【破解版DDE指标排序】}
- JUJ:=(HIGH+LOW+CLOSE)/3;
- QUJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
- QUJ1:=IF(CAPITAL=0,QUJ0*(JUJ-MIN(CLOSE,OPEN)),QUJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
- QUJ2:=IF(CAPITAL=0,QUJ0*(MIN(OPEN,CLOSE)-LOW),QUJ0*IF(HIGH=LOW,1,(JUJ-MIN(CLOSE,OPEN))));
- QUJ3:=IF(CAPITAL=0,QUJ0*(HIGH-MAX(OPEN,CLOSE)),QUJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
- QUJ4:=IF(CAPITAL=0,QUJ0*(MAX(CLOSE,OPEN)-JUJ),QUJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JUJ)));
- QUJ5:=QUJ1+QUJ2;
- QUJ6:=QUJ3+QUJ4;
- DD:=(QUJ5-QUJ6)/(QUJ5+QUJ6)*100;
- DDX:((QUJ1+QUJ2)-(QUJ3+QUJ4))/IF(CAPITAL=0,1000000,10000);
- DDY:((QUJ2+QUJ4)-(QUJ1+QUJ3))/IF(CAPITAL=0,1000000,10000);
- DDZ:DD*17;
下面是选股:
C/C++ www.gszb.com 股票公式指标网提供 Code复制内容到剪贴板
- {破解版DDE均线多头选股公式}
- JUJ:=(HIGH+LOW+CLOSE)/3;
- QUJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
- QUJ1:=IF(CAPITAL=0,QUJ0*(JUJ-MIN(CLOSE,OPEN)),QUJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOSE)-LOW)));
- QUJ2:=IF(CAPITAL=0,QUJ0*(MIN(OPEN,CLOSE)-LOW),QUJ0*IF(HIGH=LOW,1,(JUJ-MIN(CLOSE,OPEN))));
- QUJ3:=IF(CAPITAL=0,QUJ0*(HIGH-MAX(OPEN,CLOSE)),QUJ0*IF(HIGH=LOW,1,(HIGH-MAX(OPEN,CLOSE))));
- QUJ4:=IF(CAPITAL=0,QUJ0*(MAX(CLOSE,OPEN)-JUJ),QUJ0*IF(HIGH=LOW,1,(MAX(CLOSE,OPEN)-JUJ)));
- QUJ5:=QUJ1+QUJ2;
- QUJ6:=QUJ3+QUJ4;
- DD:=(QUJ5-QUJ6)/(QUJ5+QUJ6)*100;
- DDZ:=DD*17;
- DDX:=((QUJ1+QUJ2)-(QUJ3+QUJ4))/IF(CAPITAL=0,1000000,10000);
- DX:=MA(DDX,5)*20;
- DDX1:=SMA(DX,3,1);
- DDX2:=SMA(DDX1,3,1);
- DDX3:=EMA(DDX2,5);
- DDY:=((QUJ2+QUJ4)-(QUJ1+QUJ3))/IF(CAPITAL=0,1000000,10000);
- DY:=MA(DDY,5)*22;
- DDY1:=SMA(DY,3,1);
- DDY2:=SMA(DDY1,3,1);
- DDY3:=EMA(DDY2,5);
- CC:=ABS(REF(CLOSE,1)-CLOSE)/CLOSE*100;
- JJ:=CC>0 AND CC<3;
- AA:=DDX1>DDX2 AND DDX2>DDX3 AND DDX1>DDX3;
- BB:=DDY1>DDY2 AND DDY2>DDY3 AND DDY1>DDY3;
- HH:=AA>0 AND BB>0 AND DDZ>300 AND JJ>0;
- HH>0;
上一篇:KDJ--CCI 超涨超跌的买卖点 下一篇:判断背离的主图