国外MACD修改(源码 图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:3.00 KB
更新时间:2010-06-15 11:06:00
公式简介:
最近看到一个国外MACD,自己糊乱修改了一下,大家看看用得不?也可以把参数改成P:=26;S:=12;M:=9;就和MACD一样了
P:=13;S:=5;M:=3;
DIFF:EMA(C,S)-EMA(C,P);
DEA:EMA(DIFF,M),COLORRED;
MACD:2*(DIFF-DEA),COLORSTICK;
STICKLINE(DEA<=REF(DEA,1)AND DEA>0,0,DEA,1,0 ),COLORFFBEFF;
STICKLINE(DEA>REF(DEA,1)AND DEA>0,0,DEA,1,0 ),COLORMAGENTA;
STICKLINE(DEA>REF(DEA,1)AND DEA<=0,0,DEA,1,0),COLORDBDD9A;
STICKLINE(DEA<=REF(DEA,1)AND DEA<=0,0,DEA,1,0 ),COLORE2BC3A;
R:(HHV(DEA,100)+ABS(LLV(DEA ,100)))/2,COLORLIBLUE;
R/4,POINTDOT,COLORFFFF00;
R/2,POINTDOT,COLORFFFF00;
R/4*3,POINTDOT,COLORFFFF00;
-R/4,POINTDOT,COLORFFFF00;
-R/2,POINTDOT,COLORFFFF00;
-R/4*3,POINTDOT,COLORFFFF00;
-R,COLORYELLOW,COLORLIBLUE;
[url=http://www.goodgupiao.com/gupiaogongshi/7876.html][B]国外MACD修改(源码 图)[/B][/url]