+91-0000000000

}

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

MACD Hist Data

Utilizing Amibroker data feed, MACD Hist Data AFL focuses on the historical MACD values. It allows traders to study past MACD trends, facilitating a deeper analysis of price movements and helping in making more informed trading decisions.

/
_SECTION_BEGIN("MACD HIst"); 
 
SetChartBkColor( colorBlack ) ;
f = Param("fast ema",12,1,50,1);
s = Param("Slow ema",26,2,100,1); 
t = Param ("signal",9,1,50,1);
A1=EMA(C,f)-EMA(C,s); 
a2 = EMA(a1,t);
Hist = a1-a2;
em = EMA(Hist,9);
col_hist= IIf(Hist > BBandTop( Hist, 5, 0.5 ),colorDarkGreen,IIf(Hist < BBandBot( Hist, 5, 0.5 ),colorDarkRed,colorYellow));
Plot (Hist,"Histogram",colorBrightGreen, styleLine+styleThick);
Plot (Hist,"",col_hist, styleHistogram+styleNoLabel);

Plot(0,"",31,styleNoLabel);
_SECTION_END();

Open chat
1
Hi, how can I help you?