大智慧MACD大牛指标公式
2020/10/31 18:32:55
DIFF:(EMA(CLOSE,8) - EMA(CLOSE,13)),colorred,linethick3;
DEA:EMA(DIFF,9),colorff00ff;
MACD:2*(DIFF-DEA), COLORSTICK;
MACD1:2*(DIFF-DEA), COLORffffff;
stickline(macd>0 and macd>ref(macd,1),macd,0,5,0),colorff99ff,stick;
stickline(macd<0 and macd>ref(macd,1),macd,0,5,0),colorffffff,stick;
v1:if(diff<0,diff,0),coloryellow,linethick2;
v2:if(diff<0,0,diff),colorred,linethick2;
v3:if(diff<dea,diff,dea),color00ff00,linethick2;
v4:if(diff>dea,dea,dea),colorff00ff,linethick2;
aa:=cross(diff,dea);
DRAWICON(aa,-0.02,1);
投股票 网 www.tou18.c n
股市公式下载推荐