Renko bars are a great tool. They are necessarily time-independent.
It is all too easy when judging a strategy on a Renko chart (or Range chart for that matter) not to take into account the fact that some of the trades indicated would never, in practice, get a good fill because the market is moving too fast.
What I'm aiming for is to get my automated Renko-based strategies to reject a trade if the bar in question has formed too rapidly, or to have this information easily visible when trading on a discretionary basis. Trouble is, I don't know how to code this and I'm asking for some help with this.
I'd therefore greatly appreciate some assistance with:
a) how to code for the time that elapses from Close[1] to Close[0].
b) ideally, I would like this figure (being the elapsed number of minutes and seconds) to appear in a box at the top right of the chart. Is this possible and if so, how would I code it?
Many thanks in advance.

Comment