大智慧MACD面积指标公式

2024-04-11 23:58发布

DIFF:EMA(CLOSE,12) - EMA(CLOSE,26),LAYER0;DEA:EMA(DIFF,9),LAYER0;:2*(DIFF-DEA),LINETHICK0;绿柱面积:10*IF (MACD<0>0)),0),LINETHICK0,Color00ff00,PRECIS2;红柱面积:10*IF (MACD>0,SUM(MACD,BARSLAST(MACD<0>0 and MACD<=0 ,HHV(MACD,4),''+ref(红柱面积,1)),PRECIS1,ALIGN1,VALIGN1,colorred;DRAWTEXT(ref(MACD,1)<0>=0 ,LLV(MACD,4),''+ref(a(绿柱面积),1)),ALIGN1,Color00ff00,PRECIS1;DRAWTEXT(BARSTATUS=2 AND MACD<0 abs(绿柱面积)),align2,Colorwhite{004A00},PRECIS0;DRAWTEXT(BARSTATUS=2>0,HHV(MACD,4),''+abs(红柱面积)),align2,VALIGN1,color
 解锁全文需 1  财富值,免费注册即送20财富值!