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);

Leave a Reply

Your email address will not be published. Required fields are marked *