国外高级MACD
2011-02-17 09:21:00来源:本站整理浏览:256
国外高级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;
- 上一篇公式:背离王公式(主图 源码 非常好看的)
- 下一篇公式:高准确率--副图 源码