同花顺MACD能量分析指标公式

2024-04-28 12:58发布

SHORT:=12;LONG:=26;M:=9;DIFF:EMA(CLOSE,Short) - EMA(CLOSE,Long);DEA:EMA(DIFF,M);:2*(DIFF-DEA),COLORSTICK;MACDHS:=IF(MACD>0 AND MACD>REF(MACD,1),MACD,0);MACDHX:=IF(MACD>0 AND MACDREF(MACD,1),MACD,0);红柱面积:=IF(MACD>0,SUM(MACD,BARSLAST(MACD<0 PRECIS2,COLOR0000FF;绿柱面积:=IF(MACD>0)),0),PRECIS2,COLOR006000;//MACD面积:IF(MACD<0>0 AND MACD<=0 ,HHV(MACD,4),TOSTRING(REF(红柱面积,1),3)),colorred;DRAWTEXT(REF(MACD,1)<0>=0 ,LLV(MACD,4),
 解锁全文需 1  财富值,免费注册即送20财富值!