分析家公式网,提供股票公式,股票软件用户登录  |  用户 注册
MACD背离公式 源码
  • 软件大小:7.00 KB
  • 推荐星级:
  • 更新时间:2018-11-17 01:17:44
  • 软件类别: 国产软件 / 通达信公式
  • 软件语言:简体中文
  • 授权方式: 免费版
  • 联系方式:暂无联系方式
  • 官方主页: Home Page
  • 点击大图:  【一键转帖到论坛】
  • 插件情况:
  • 运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
  • 相关Tags:MACD背离  
  • (0)0%
    (0)0%

软件介绍

DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACD:(DIF-DEA)*2,COLORSTICK;
HJ_1:=FINDLOW(MACD,BARSLAST(REF(MACD,1)<0 AND MACD>0)+1,10,1);
HJ_2:=FINDLOW(LOW,BARSLAST(REF(MACD,1)<0 AND MACD>0)+1,10,1);
HJ_3:=FINDLOW(DIF,BARSLAST(REF(MACD,1)<0 AND MACD>0)+1,10,1);
HJ_4:=REF(MACD,1)>HJ_1 AND MACD<0 AND MACD>REF(MACD,1);
钝化:HJ_4 AND LOW<HJ_2 AND DIF>HJ_3,NODRAW,COLORWHITE;
DRAWTEXT(钝化>0,MACD,16),COLORMAGENTA;
结构形成70%:钝化 AND MACD>REF(MACD,2) AND DIF>REF(DIF,1),NODRAW,COLORRED;
DRAWICON(结构形成70%>0,0,1);
HJ_5:=FINDHIGH(MACD,BARSLAST(REF(MACD,1)>0 AND MACD<0)+1,10,1);
HJ_6:=FINDHIGH(CLOSE,BARSLAST(REF(MACD,1)>0 AND MACD<0)+1,10,1);
HJ_7:=FINDHIGH(DIF,BARSLAST(REF(MACD,1)>0 AND MACD<0)+1,10,1);
HJ_8:=MACD<HJ_5 AND MACD>0 AND MACD<REF(MACD,1);
HJ_9:=HJ_8 AND CLOSE>HJ_6 AND DIF<HJ_7;
DRAWTEXT(HJ_9>0,MACD,16),COLORGREEN;
顶部结构70%:HJ_9 AND MACD<REF(MACD,2) AND DIF<REF(DIF,1),NODRAW,COLORGREEN;
DRAWICON(顶部结构70%>0,0,2);{www.fxjgsw.com}
HJ_10:=BARSLAST(REF(CROSS(DIF,DEA),1));
HJ_11:=REF(CLOSE,HJ_10+1)>CLOSE AND DIF>REF(DIF,HJ_10+1) AND CROSS(DIF,DEA);
底背1:DRAWLINE(HJ_10=0,DEA,HJ_11,DEA,0),COLORRED,LINETHICK2;
HJ_12:=BARSLAST(REF(CROSS(DEA,DIF),1));
HJ_13:=REF(CLOSE,HJ_10+1)<CLOSE AND REF(DIF,HJ_10+1)>DIF AND CROSS(DEA,DIF);
顶背1:DRAWLINE(HJ_10=0,DEA,HJ_13,DEA,0),COLORGREEN,LINETHICK2;
HJ_14:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3);
HJ_15:=EMA(CLOSE,12)-EMA(CLOSE,26);
STICKLINE(CROSS(HJ_14,9),0,DIF,1,0),COLORYELLOW;
HJ_16:=BARSLAST(REF(MACD,1)<0 AND MACD>0);
HJ_17:=LLVBARS(MACD,HJ_16+20);
HJ_18:=IF(HJ_17>HJ_16,REF(MACD,HJ_17),0);
HJ_19:=MACD<0 AND MACD>HJ_18 AND LOW=LLV(LOW,HJ_16+20) AND HJ_18<0;
HJ_20:=REF(HJ_19,1)=1 AND MACD>REF(MACD,1) AND REF(DIF,HJ_17)<0 AND MACD<0;
低积背:DRAWLINE(HJ_18=HJ_17,MACD,HJ_20,MACD,0),COLORLIRED,LINETHICK2;
DRAWICON(HJ_20,MACD*1.2,7);
HJ_21:=HHVBARS(MACD,HJ_16+20);
HJ_22:=IF(HJ_21>HJ_16,REF(MACD,HJ_21),0);
HJ_23:=MACD>0 AND MACD<HJ_22 AND HIGH=HHV(HIGH,HJ_16+20) AND HJ_22>0;
HJ_24:=REF(HJ_23,1)=1 AND MACD>REF(MACD,1) AND REF(DIF,HJ_21)>0;
顶积背:DRAWLINE(HJ_22=HJ_21,MACD,HJ_24,MACD,0),COLORCYAN,LINETHICK2;
HJ_25:=BARSLAST(REF(CROSS(DIF,DEA),1));
HJ_26:=REF(CLOSE,HJ_25+1)>CLOSE AND DIF>REF(DIF,HJ_25+1) AND CROSS(DIF,DEA);
STICKLINE(HJ_26,0,DIF,3,0),COLORLIMAGENTA;
底背:DRAWLINE(HJ_25=0,DEA,HJ_26,DEA,0),COLORRED,LINETHICK2;
DRAWICON(HJ_26,DIF,1);
HJ_27:=BARSLAST(REF(CROSS(DEA,DIF),1));
HJ_28:=REF(CLOSE,HJ_27+1)<CLOSE AND REF(DIF,HJ_27+1)>DIF AND CROSS(DEA,DIF);
顶背:DRAWLINE(HJ_27=0,DEA,HJ_28,DEA,0),COLORGREEN,LINETHICK2;
DRAWICON(HJ_28,DIF,15);
HJ_29:=CLOSE/MA(CLOSE,40)*100<78;
HJ_30:=CLOSE/MA(CLOSE,60)*100<74;
HJ_31:=HIGH>LOW*1.051;
HJ_32:=HJ_31 AND COUNT(HJ_31,5)>1;
HJ_33:=IF(HJ_32 AND (HJ_29 OR HJ_30),2,0);
HJ_34:=CLOSE/REF(CLOSE,25)<=1.1;
HJ_35:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100<15;
HJ_36:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
HJ_37:=SMA(HJ_36,2,1);
HJ_38:=SMA(HJ_37,2,1);
HJ_39:=IF(HJ_37>REF(HJ_37,1) AND REF(HJ_37,1)<REF(HJ_37,2) AND HJ_37<23,1.5,0);
HJ_40:=HJ_34 AND HJ_33 AND HJ_35 AND HJ_39;
STICKLINE(HJ_40 AND MACD>REF(MACD,1),DIF,0,1,0),COLORRED;
HJ_41:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9));
HJ_42:=SMA(HJ_41,9,3);
HJ_43:=SMA(HJ_42,9,3);
HJ_44:=3*HJ_42-2*HJ_43;
HJ_45:=CROSS(DIF,DEA) AND CROSS(HJ_42,HJ_43);
DRAWICON(HJ_45,DEA*1.2,25);
DRAWTEXT(HJ_45,DEA*1.2,18),COLORYELLOW;
0,DOTLINE,COLORGRAY;
HJ_46:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
HJ_47:=CROSS(HJ_46,20);
STICKLINE(HJ_47,0,DIF,0.3,0),COLORRED;
DRAWICON(HJ_47,DIF,9),COLORYELLOW;
HJ_48:=BARSLAST(REF(CROSS(RSI.RSI1,RSI.RSI2),1));
HJ_49:=REF(CLOSE,HJ_48+1)>CLOSE AND REF(RSI.RSI1,HJ_48+1)<RSI.RSI1 AND CROSS(RSI.RSI1,RSI.RSI2);
DRAWICON(HJ_49>0,DIF,5);
HJ_50:=BARSLAST(REF(CROSS(RSI.RSI2,RSI.RSI1),1));
HJ_51:=REF(CLOSE,HJ_50+1)<CLOSE AND REF(RSI.RSI1,HJ_50+1)>RSI.RSI1 AND CROSS(RSI.RSI2,RSI.RSI1);
DRAWTEXT(HJ_51>0,DEA,20),COLORGREEN;
HJ_52:=CLOSE/MA(CLOSE,40)*100<78;
HJ_53:=CLOSE/MA(CLOSE,60)*100<74;
HJ_54:=HIGH>LOW*1.051;
HJ_55:=HJ_54 AND COUNT(HJ_54,5)>1;
HJ_56:=IF(HJ_55 AND (HJ_52 OR HJ_53),2,0);
HJ_57:=CLOSE/REF(CLOSE,25)<=1.1;
HJ_58:=SMA(MAX(CLOSE-REF(CLOSE,2),0),7,1)/SMA(ABS(CLOSE-REF(CLOSE,2)),7,1)*100<15;
HJ_59:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;
HJ_60:=SMA(HJ_59,2,1);
HJ_61:=SMA(HJ_60,2,1);
HJ_62:=IF(HJ_60>REF(HJ_60,1) AND REF(HJ_60,1)<REF(HJ_60,2) AND HJ_60<23,1.5,0);
HJ_63:=HJ_57 AND HJ_56 AND HJ_58 AND HJ_62;
DRAWTEXT(HJ_63 AND MACD>REF(MACD,1),DIF*1.1,21),COLORRED;
HJ_64:=MACD>=0 AND REF(MACD,1)>=0 AND REF(MACD,2)>=0 AND REF(MACD,3)>=0 AND MACD>REF(MACD,1) AND REF(MACD,1)<REF(MACD,2) AND REF(MACD,2)<REF(MACD,3);
STICKLINE(HJ_64,0,MACD*1.1,0.3,0),COLORRED;
HJ_65:=REF(LLV(LOW,90),3);
HJ_66:=REFDATE(HJ_65,DATE);
HJ_67:=HJ_66=LOW AND (CLOSE-LOW>OPEN-CLOSE OR OPEN-LOW>CLOSE-OPEN);
STICKLINE(IF(HJ_67,(-120),0),DIF/3,0,7,0),COLOR003300;
STICKLINE(IF(HJ_67,(-120),0),DIF/3,0,6,0),COLOR005500;
STICKLINE(IF(HJ_67,(-120),0),DIF/3,0,5,0),COLOR007700;
STICKLINE(IF(HJ_67,(-120),0),DIF/3,0,3.5,0),COLOR009900;
STICKLINE(IF(HJ_67,(-120),0),DIF/3,0,2,0),COLOR00CC00;
STICKLINE(IF(HJ_67,(-120),0),2*DIF/3,DIF/3,7,0),COLOR666666;
STICKLINE(IF(HJ_67,(-120),0),2*DIF/3,DIF/3,6,0),COLOR777777;
STICKLINE(IF(HJ_67,(-120),0),2*DIF/3,DIF/3,5,0),COLOR888888;
STICKLINE(IF(HJ_67,(-120),0),2*DIF/3,DIF/3,4,0),COLOR999999;
STICKLINE(IF(HJ_67,(-120),0),2*DIF/3,DIF/3,3,0),COLORDDDDDD;
STICKLINE(IF(HJ_67,(-120),0),2*DIF/3,DIF/3,2,0),COLORWHITE;
STICKLINE(IF(HJ_67,(-120),0),DIF,2*DIF/3,7,0),COLOR000044;
STICKLINE(IF(HJ_67,(-120),0),DIF,2*DIF/3,6,0),COLOR000033;
STICKLINE(IF(HJ_67,(-120),0),DIF,2*DIF/3,5,0),COLOR000055;
STICKLINE(IF(HJ_67,(-120),0),DIF,2*DIF/3,4,0),COLOR000077;
STICKLINE(IF(HJ_67,(-120),0),DIF,2*DIF/3,3,0),COLOR000099;
STICKLINE(IF(HJ_67,(-120),0),DIF,2*DIF/3,2,0),COLORLIMAGENTA;
DRAWTEXT(HJ_67,DIF/3,22),COLORRED;
DRAWTEXT(HJ_67,2*DIF/3,23),COLORRED;
DRAWTEXT(HJ_67,DIF,24),COLORYELLOW;

{-----------------------------------}
 


 

地址


·上一软件:转势向上买入 源码
·下一软件:控盘公式

软件评论评论内容只代表网友观点,与本站立场无关!

   评论摘要(共 0 条,得分 0 分,平均 0 分) 查看完整评论

说明

* 使用方法:点击上面蓝色块,打开新页面按照提示进行

* 本网站提供的各种股票软件,例如大智慧软件,通达信软件,同花顺软件,东方财富通等等,和各种股票公式指标,例如大智慧公式,通达信公式,同花顺公式,文华公式,博易大师公式,股票价格计算公式等等公式指标等,都来源网上公开来源收集

本网提供的公式文件说明:
* alg格式飞狐股票公式,可以用飞狐交易师或者交易师软件导入;
* fnc格式大智慧新一代公式指标,可以用大智慧股票软件使用,少部分可以用分析家股票软件引入使用;
* exp格式大智慧经典版股票公式,仅可以用大智慧经典版股票软件引入使用;
* tni和tnc格式通达信股票公式,仅可以用通达信新引入使用,例如可以用通达信股票软件引入使用;
* tne,tn6格式通达信公式,可以用通达信公式编辑器5.0版导入,推荐通达信金融终端版本;
* hxf格式同花顺股票公式,仅可以用同花顺股票软件引入使用。
以上的各种软件都可以在本网股票软件栏目找到!

* 关于股票公式时间限制,如果在引入大智慧公式,交易师公式或者飞狐公式的时候,发现公式名称栏是空白的,这时候调整电脑时间到1997年,又能出现公式名称,并且能正常显示,可能是公式使用期限已过。
* 关于还原公式源码如果你忘记了自己编写的大智慧公式,通达信公式,同花顺公式,操盘手公式,飞狐公式,博易大师公式,金字塔公式,文华公式和交易师公式等等公式的密码,本网可帮恢复源码,有.偿.服.务无意勿扰,点击在线咨询联系我。

* 关于股票公式源码编辑
本网提供的源码,一般都可以编辑成公式,如果不明白公式的编辑,在本页右侧教程录像可参考,或者找公式教程资料学习,请搜索:教程

* 如果您发现软件内容或者链接错误,请点击报告错误谢谢!
* 站内提供的所有软件包含源码均是由网上搜集,若侵犯了你的版权利益,请联系通知我们!

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2022 fxjgsw.Com. All Rights Reserved .
页面执行时间:12,486.33000 毫秒