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

Coloured MA

Using AFL code in Amibroker, traders can apply color-coding to moving averages (MA) on price charts. This customization enables traders to quickly discern the status of moving average crossovers and trend strength. Amibroker data feeder supports the accurate calculation and visualization of these colored MAs, facilitating technical analysis and trading strategy development.

_SECTION_BEGIN("Coloured MA");
m = MA(C,30);
Plot(m,"m",IIf(m > Ref(m,-1),colorGreen,colorRed),styleDashed);

Open chat
Hi, how can I help you?