当前位置:知识问问>生活百科>编制MACD中DIFF背离画线公式(通达信)

编制MACD中DIFF背离画线公式(通达信)

2024-09-02 06:58:55 编辑:join 浏览量:599

问题补充说明:DIFF顶背离底背离画线公式,DIFF拐点处背离的连线(和股价背离)

编制MACD中DIFF背离画线公式(通达信)

DIFF脚例多承:EMA(CLOSE,12)-EMA(CLOSE钱陆望正,27);

DEA:EMA(DIFF,9);

MACD:2*(DIFF-DEA),COLORSTICK,LINETHICK2;

A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));

底背离:=REF(CLOSE,A1+1)>CLOS攻拿单刘EANDDIFF>REF(DIFF,A1+1)ANDCROSS(DIFF,DEA);

DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4{底背};

A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));

顶背离:=REF(CLOSE,A2+1)<CLOSEANDREF(DIFF,A2+1)>DIFFANDCROSS(DEA,DIF训认修物F);

DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4{顶背};

标签:MACD

版权声明:文章由 知识问问 整理收集,来源于互联网或者用户投稿,如有侵权,请联系我们,我们会立即处理。如转载请保留本文链接:https://www.zhshwenwen.com/life/366831.html
热门文章