I started to mess around with a version of TDI called TDI-Clone-RT to see if I could dynamically update the length of the key indicators that make up the TDI. A couple of things regarding this. Firstly if I have posted work that in any way violates somebody's copyright or hard work, I sincerely apologise and if required will take the post off immediately. I do not want to take away from the hard work that other people do, just share an idea.
Secondly I am not a coder as you will undoubtedly see, I am not even sure if what I have done is working completely correctly, so please don't flame me for the mess I have attached. When I compare it to you competent coders out there, embarrassed is one word I would use and jealous is another

Basically what it attempts to do is take that last 50 bars, find the highest high/lowest low and (I think) load an array to dynamically adjust the signal line and tradesignal line that is finally produced.
I have compared it's output to that of TDI_RSX_Volatility indi which has an interesting comparison. See below, TDI-RT-Clone6 is the Frankenstein's monster that I have created.
Clearly there are some positives and negatives when you compare the two, but either way it improves over the standard TDI's that I have worked with that can get a bit 'choppy', unlike of course TDI_RSX which is clearly much more sophisticated.
I have attached the mq4, again if this is wrong please let me know and I will remove immediately.
I think this warrants some further development and work but you will absolutely see I am at the limits of my coding ability (if you can call it that). So if the community feels we can work on this further; I am putting the idea out there.