Candle Length Histogram - MT4 code

 

Hi All, I have been trying to find an indicator in the mt4 codebase that will give me a histogram of candle lengths expressed as a percentage over 'x' amount of candles.

There is some similar stuff in the market area (Power Candles and DI Volume Bar) but I could do with the code. I just can't locate this in the codebase but it seems fairly simple so I'm hoping someone can point me in the right direction.

Thank you all in advance for your help.

Graeme Oswald