This is an updated version of RWT. It performs much better than the previous versions. Much of the work is done automatically. To do this automatically the script guesses at the amount of time that the exchange has not been open eg overnight or over a weekend.
Only a few exchanges are recognized automatically. So you will need to input the period the exchange is open.
For example, if you trade on NYSE which opens at 09:30 hours est and closes at 16:00 hrs est then the length of the trading day in minutes is 390. Enter that in the box "Minutes in trading day, if above 0 then this value will be used instead of automatic calculation for exchange, 1440 is for an exchange that never closes ". Any number above "0" entered in that box will be the default hours of operation for the exchange you are using except where the "XETR exchange box is checked, In which case the XETR operation hours will be the default. Why does XETR get its own box? Because that exchange has a settlement period at the end of the day that interferes with the script's ability to sense overnight none trading hours. It has its own algo. Also, I was asked to specifically do a script for XETR by a TV member.
This script is not built to allow a split day. If there other exchanges, besides XETR, that have special circumstances this script causing it to be unable to sense nonoperating hours then the Renko time will be wrong part or all of the time. An individual time bar might jump to over 1000 minutes for the first bar of the day- that will demonstrate an issue. If so send me a message.
I have not added in special coding for the US Thanksgiving and Christmas Eve or anywhere that the market closes early. This must be added. The code is roughly in place and will be activated once I decide which exchanges to do probably as a result of feedback.
Optionally, this script will also give you Renko wave cumulative volume.
I hope you find this version more useful than the previous versions. Message me if you see issues. I have not tested this extensively.
jayy