股民大家庭

 找回密码
 立即注册

扫一扫,访问微社区

搜索
查看: 7804|回复: 0
打印 上一主题 下一主题

[大智慧]大智慧顶部预判源码公式

[复制链接]
跳转到指定楼层
1
发表于 2010-01-07 16:37:53 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
大智慧顶部预判源码公式:
TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N);
HD := HIGH-REF(HIGH,1);
LD := REF(LOW,1)-LOW;
DMP:= SUM(IF(HD>0 ,HD,0),N);
DMM:= SUM(IF(LD>0 ,LD,0),N);
PDI: DMP*100/TR,colorwhite;
MDI: DMM*100/TR,coloryellow;
反转:=ref(MDI,1)=0 and ref(MDI,2)<3 and MDI>1 and close>ref(close,1) and PDI<ref(PDI,1) and ref(PDI,1)>ref(PDI,2) and PDI<60 and PDI>45;
巨反转:=if(ref(MDI,1)=0 and ref(mdi,2)=0 AND MDI>3 AND PDI>60 and close>ref(close,1) and pdi<ref(pdi,1) and ref(close,1)>ref(close,2),1,0);
小心:=if(ref(MDI,1)<2.5 and (MDI-ref(MDI,1))>2 and close>ref(close,1) and pdi<ref(pdi,1) and 40<PDI,1,0);
背离:=if(close>ref(close,1) and pdi<ref(pdi,1) and ref(pdi,1)>ref(PDI,2) and ref(pdi,1)>60,1,0);
F:=if(close>ref(close,1) and pdi<ref(pdi,1) and ref(close,2)<ref(close,1),if((PDI-10)>0,PDI-10,0),0);
e:=if(ref(MDI,1)=0,10,0)+if(ref(MDI,1)<3,10,0)+if(ref(MDI,2)=0,10,0)+if(ref(MDI,2)<4,15,0)+if(ref(MDI,3)=0,15,0)+if(ref(MDI,3)<5,20,0)+if(MDI=0,5,0)+if(MDI<5,5,0)+F+if(F>0,ref(f,1),0);
小心指数:IF(E>100,100,E);
DRAWTEXT(巨反转=1,20,'巨反转' ),colorred;
DRAWTEXT(巨反转=0 and 反转=1,20,'反转' ),colorred;
DRAWTEXT(反转=0 and 小心=1,20,'小心' ),colorred;
DRAWTEXT(背离=1,80,'背离'),colorred;
DRAWTEXT(背离=0 and close>ref(close,1) and pdi<ref(pdi,1) {and ref(pdi,1)>ref(PDI,2)} and ref(pdi,1)>50,70,'背'),colorred;
DRAWTEXT(ref(PDI,1)<2.5 and (PDI-ref(PDI,1))>1.5 and close<ref(close,1) and Mdi<ref(Mdi,1),20,'上' ),colorred;
DRAWTEXT(ref(PDI,1)<5 and ref(PDI,1)<ref(pdi,2) and (PDI-ref(PDI,1))>1.5 and close>ref(close,1) and Mdi<ref(Mdi,1),20,'?上' ),colorred;

222.gif (68.33 KB, 下载次数: 74)

222.gif



上一篇:[大智慧]大智慧短放选股源码公式
下一篇:[大智慧]大智慧广通红绿灯源码公式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

今日股市|网站地图|股民学校|手机版|小黑屋|股民大家庭 |网站地图24小时在线客服

GMT+8, 2025-1-27 13:06 , Processed in 8.067187 second(s), 30 queries , Gzip On.

Powered by 股民大家庭

© 2007-2019 www.gupiao168.com


快速回复 返回顶部 返回列表