macd顶底背离dif线背离共振副图金叉选股 股票指标炒股软件公式
22
2024 / 11 / 20
2022-08-18 10:05:24 通达信指标网
macd量化
闲的没事,做指标
DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),COLORWHITE;
DEA:EMA(DIFF,9),COLORYELLOW;
MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK4;
红柱天数:BARSLAST(MACD<0),COLORRED,LINETHICK0 NODRAW;
死叉天:=BARSLAST(MACD>0) NODRAW;
死叉天数:REF(死叉天,1),COLORGREEN,LINETHICK0 NODRAW;
DRAWNUMBER(CROSS(DEA,DIFF),0.2,BARSLAST(CROSS(DIFF,DEA))),COLORYELLOW;
DRAWNUMBER(CROSS(DIFF,DEA),-0.05,BARSLAST(CROSS(DEA,DIFF))),COLORGREEN;
原文链接:https://www.tdxzb.com/?id=511
本文版权:如无特别标注,本站文章均为原创。