飞狐MACD成风趋势指标公式

[复制链接]
查看138 | 回复0 | 2021-8-21 11:33:40 | 显示全部楼层 |阅读模式

DIFFZ:=EMA((EMA(CLOSE,12)-EMA(CLOSE,26)),1);
DEAZ:=EMA(DIFFZ,9),COLOR00AA88;
MACDZ:=3*(DIFFZ-DEAZ);
STICKLINE(MACDZ>0 AND MACDZ>REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,0),COLORFF00FF;
STICKLINE(MACDZ>0 AND MACDZ<=REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,1),COLORFF00FF;
STICKLINE(MACDZ<0 AND MACDZ>REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,1),COLORDDDDDD;
STICKLINE(MACDZ<0 AND MACDZ<=REF(MACDZ,1),(0.93*SYSPARAM(5)),MACDZ+(0.93*SYSPARAM(5)),8,0),COLORDDDDDD;
PARTLINE(MACDZ>0 AND DIFFZ>0,(0.9*SYSPARAM(5))),CROSSDOT,COLOR0000FF,LINETHICK1;
PARTLINE(MACDZ<=0 AND DIFFZ>0,(0.9*SYSPARAM(5))),CROSSDOT,COLOR00FFFF,LINETHICK1;
PARTLINE(MACDZ>0 AND DIFFZ<=0,(0.9*SYSPARAM(5))),CROSSDOT,COLORFF55DD,LINETHICK1;
PARTLINE(MACDZ<=0 AND DIFFZ<=0,(0.9*SYSPARAM(5))),CROSSDOT,COLOR66DD66,LINETHICK1;

202108211128.jpg

202108211128.jpg

 

回复

使用道具 举报

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

本版积分规则