+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

MACD JMA

Integrating the MACD indicator with JMA, this AFL in Amibroker provides a smoothed representation of MACD values. Using Amibroker data feed, it utilizes JMA to reduce noise and offer a clearer signal, aiding traders in identifying trends more accurately.

/

_SECTION_BEGIN("MACD");

SetChartBkColor( colorBlack ) ;

A1=EMA(C,12)-EMA(C,26);

BBtop=BBandTop(A1,10,1);

BBbot=BBandBot(A1,10,1);

Color=IIf(a1<0 AND a1>Ref(a1,-1), colorBlue,IIf(a1>0 AND a1>Ref(a1,-1),colorBlue,IIf(a1>0 AND a1<ref(a1,-1),colorred,colorred)));

Plot(a1,"MACD",color,styleDots+styleLine);</ref(a1,-1),colorred,colorred)));

Plot(BBtop,"BBtop",color,styleDashed);

Plot(BBbot,"BBbot",color,styleDashed);

Plot(0,"",31,1);

_SECTION_END();

Plot(3, "ribbon", Color, styleOwnScale| styleArea|styleNoLabel,-0.5,100);

_SECTION_BEGIN("EMA1");

P = ParamField("Price field",-1);

Plot( EMA( P, 9 ), _DEFAULT_NAME(), colorBlue, styleThick );

_SECTION_END();

Open chat
1
Hi, how can I help you?