Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

Volume Histogram



Volume Histogram
Volume Histogram


//www.aflcode.com
value = 100*(Open-Low)/(High-Low)-50;

bullishCandleStrength = IIf(Close > Open, value, 0);
bearishCandleStrength = IIf(Close <= Open, value, 0);

Plot(bullishCandleStrength, "Bullish Candle Strength", colorGreen, styleHistogram | styleThick);
Plot(bearishCandleStrength, "Bearish Candle Strength", colorRed, styleHistogram | styleThick);

Plot(50, "", colorDarkYellow, styleDashed);
Plot(-50, "", colorDarkYellow, styleDashed);

Previous
Next Post »