I require a MQL4 indicator that will measure the time it takes for a Renko bar to form from the open to the close price. This time needs to be represented as a histogram. I would like the ability to have a user input parameter to paint those bars that are under a user specified time a different color. For example bars would be painted lets say green but any bar that took lets say 2 minutes or less to be formed would be painted a different color.
I will supply the Renko bar indicator for purpose of testing by the programmer.