极品分时MACD副图公式 你值得拥有
有未来,是画线和红十字图标,这三句标出来的,不喜欢的可以删掉这三句,我的macd参数不是系统默认的,使用者可以根据自己爱好调节.
装好后多看几只个股会有感觉,那个是要关注的点位.压缩包里是5.0的指标和文本文件,担心有些人公式管理器版本低就放一起的,内容相同
公式源码
DIFF:EMA(CLOSE,24)-EMA(CLOSE,55),POINTDOT;
DEA:EMA(DIFF,18),POINTDOT;
MACD:2*(DIFF-DEA),NODRAW;
STICKLINE(MACD =REF(MACD,1) AND MACD 0,0,MACD,0.1,0),COLORRED;
STICKLINE(MACD REF(MACD,1) AND MACD 0,0,MACD,0.1,0),COLORFFC4FF;
STICKLINE(MACD =REF(MACD,1) AND MACD 0,0,MACD,0.1,0),COLORFFFFBB;
STICKLINE(MACD REF(MACD,1) AND MACD 0,0,MACD,0.1,0),COLORGREEN;
NOTEXTM:MACD,COLORMAGENTA;
金叉:=CROSS(DIFF,DEA);
死叉:=CROSS(DEA,DIFF);
DRAWICON(金叉,DEA,1);
DRAWICON(死叉,DEA,2);
A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(C,A1+1) C AND REF(DIFF,A1+1) DIFF AND CROSS(DIFF,DEA);
NOTEXT底:DRAWLINE(A1=0,REF(DEA,1),底背离,DEA,0)COLORRED,LINETHICK2;{含未来}
A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(C,A2+1) C AND REF(DIFF,A2+1) DIFF AND CROSS(DEA,DIFF);
NOTEXT顶:DRAWLINE(A2=0,REF(DEA,1),顶背离,DEA,0),COLORGREEN,LINETHICK2;{含未来}
现价:=C,NODRAW;
均价:=SUM(C*V,240)/SUM(V,240),NODRAW;
涨力:=(现价/均价-1)*100,NODRAW,COLORLIGRAY;
TJ:=现价 均价 AND 涨力
DRAWICON(MACD=HHV(MACD,10) AND MACD REFX(MACD,1) AND TJ AND MACD 0,MACD,23);{含未来};