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

Lagless MACD--ARC

Lagless MACD–ARC AFL could be a variation of the traditional MACD indicator with reduced lag. Utilizing AmiBroker data feed, it assists traders in interpreting momentum shifts and potential trend reversals in the market.

a= TSF(C,3)+TSF(C,5)+TSF(C,8)+TSF(C,13)+TSF(C,17)+TSF (C,26);
b= TSF(C,8)+TSF(C,13)+TSF(C,26)+TSF(C,35)+TSF(C,50)+TSF(C,56);
mova= TSF(a,3);
diff= a + mova;
diff1= b + movb;
m= diff - diff1;
m1= TSF(m,5)*.5;
m2=IIf(Ref(m1,-1)< m1,Ref(m1,-1),IIf(Ref(m1,-1) > m1,m,0));
//Plot(m2,"LaglessMACD--ARC",ParamColor("Set Your MACD-Color",colorBlue),ParamStyle("Set Your MACD-Style",styleLine,maskAll));
HistColour = colorBlue;
HistColour = IIf( m2 > Ref(m2,-1), IIf(m2 >0,27,41),IIf(m2 >0,43,32)  ); 
Plot( m2,StrFormat(_SECTION_NAME()),HistColour, ParamStyle("Set Your MACD Style",styleLine|styleThick,maskAll)); 

Open chat
Hi, how can I help you?