+91-0000000000

}

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

MACD Mod Trend Line

By modifying MACD for trend analysis, this AFL in Amibroker incorporates trend lines for a clearer depiction of market trends. Utilizing Amibroker data feed, it enables traders to identify and follow trend movements with greater precision.

/
_SECTION_BEGIN("MACD");
r1 = Param( "Fast avg", 3, 2, 200, 1 );
r2 = Param( "Slow avg", 11, 2, 200, 1 );
MAc = MACD (r1,r2);
Col = IIf (MAc > Ref(MAc,-1),colorBlue,colorRed);
Plot( MAc,"MACD", Col, styleThick );
Plot(6, "ribbon", Col, styleOwnScale| styleArea|styleNoLabel,-0.5,100);
_SECTION_END();

Open chat
1
Hi, how can I help you?