公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

同花顺MACD彩色面积副图指标 源码

2019-1-16 09:05| 发布者: admin| 查看: 86| 评论: 0

1,粉红是多头上涨,不做卖出
2,大红是空头反弹
3,绿色是多头回调
4,蓝色是空头下跌,不做买入
5,白色为原速率开始减缓,后续有可能会出现变盘点,以金叉或死叉为变盘点
6,配合KDJ或DMI指标

DIFF :EMA(CLOSE,12) - EMA(CLOSE,26),colorwhite;
DEA :EMA(DIFF,9),coloryellow;
MACD : 2*(DIFF-DEA);
ZERO:0;
DRAWICON(CROSS(DIFF,DEA),DEA*1.02,1);
DRAWICON(CROSS(DEA,DIFF),DEA*0.98,2);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1),colorlired);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF>REF(DIFF,1) AND DEAFILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF<=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF>0 AND DIFF<=REF(DIFF,1) AND DEAFILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF>REF(DIFF,1) AND DEA>REF(DEA,1),colorred);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF>REF(DIFF,1) AND DEAFILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF<=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF>DEA AND DIFF<0 AND DIFF<=REF(DIFF,1) AND DEAFILLRGN(DIFF,DEA,DIFF0 AND DIFFREF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF0 AND DIFFFILLRGN(DIFF,DEA,DIFF0 AND DIFF>=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF0 AND DIFF>=REF(DIFF,1) AND DEAFILLRGN(DIFF,DEA,DIFFREF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFFFILLRGN(DIFF,DEA,DIFF=REF(DIFF,1) AND DEA>REF(DEA,1),colorwhite);
FILLRGN(DIFF,DEA,DIFF=REF(DIFF,1) AND DEA

同花顺MACD彩色面积副图指标 源码


鲜花

握手

雷人

路过

鸡蛋
返回顶部