beyond202104 发表于 2023-8-28 16:33:00

macd量化(通达信公式 副图 源码 测试图)


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;


细识仅苏 发表于 2024-3-3 14:33:17

沙发!沙发!
页: [1]
查看完整版本: macd量化(通达信公式 副图 源码 测试图)