易学指标公式网

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1314|回复: 0

钦差大臣MACD1 通达信 副图 源码分享

[复制链接]

441

主题

0

回帖

825

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
825
发表于 2023-2-19 18:53:17 | 显示全部楼层 |阅读模式


钦差大臣MACD1 通达信 副图 源码分享


20230219_184843_003.png

20230219_184843_004.png

20230219_184843_005.png


钦差大臣MACD1 通达信 副图 源码分享
DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);
DEA : EMA(DIFF,9);
MACD=2*(DIFF-DEA);
ZERO : 0;
GJ:=MAX(C,O);
STICKLINE(MACD>0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORRED;
STICKLINE(MACD>0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORLIBLUE;
STICKLINE(MACD<0 AND MACD>=REF(MACD,1),0,MACD,1,0),COLORLIRED;
STICKLINE(MACD<0 AND MACD<REF(MACD,1),0,MACD,1,0),COLORGREEN;
L4:=LLV(GJ,4);
JL:=(HHV(DIFF,55)-LLV(DIFF,55))/5;
GT:=DEA>REF(DEA,1) AND REF(DEA,1)<REF(DEA,2);
A1:=BARSLAST(REF(GT,1));
底部结构:=REF(L4,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND GT;
DRAWLINE(A1=0,DEA,底部结构,REF(DEA,A1),0),COLORRED,LINETHICK2;
DRAWLINE(底部结构,DEA,底部结构,REF(DEA,A1),0),COLORRED,LINETHICK2;
DRAWTEXT(底部结构,REF(DEA,A1)*1.18,' 底部结构'),COLORRED;
H4:=HHV(GJ,4);
GT2:=DEA<REF(DEA,1) AND REF(DEA,1)>REF(DEA,2);
A2:=BARSLAST(REF(GT2,1));
顶部结构:= REF(H4,A2+1)<H4 AND DIFF<REF(DIFF,A2+1) AND GT2;
DRAWLINE(A2=0 ,DEA,顶部结构,REF(DEA,A2),0),COLORGREEN,LINETHICK2;
DRAWLINE(顶部结构,DEA,顶部结构,REF(DEA,A2),0),COLORGREEN,LINETHICK2;
DRAWTEXT(顶部结构,REF(DEA,A2)*1.18,' 顶部结构'),COLORGREEN;
A0:=DIFF<0 AND DEA<0;
A11:=A0>REF(A0,1);
A3:=BARSLAST(A11);
A4:=COUNT(DEA>0 AND DIFF >0,A3)=0;
A5:=CROSS(DIFF ,DEA);
A6:=BARSLAST(A5);
A7:=REF(A6,A6+1)+A6;
A8:=(DIFF+DEA)/2;
A9:=(HIGH+LOW)/2;
A10:=A5 AND A7<A3 AND A4 AND A8>REF(A8,A7) AND A9<REF(A9,A7) AND MACD>0;










回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

 
 
在线客服
客服QQ号:2458763583
客服QQ群:658254471
工作时间:
8:00-23:00
客服热线:
扫一扫加客服微信

QQ|Archiver|小黑屋|易学指标公式网

GMT+8, 2025-4-3 23:29 , Processed in 0.119301 second(s), 20 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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