It works in any timeframe with no input required.
The only parameter is used to smooth the curves and can be set to 1 to have the original, but noisy, signals.
Comments are welcome, and please push the like button if you find it useful.
PS Curious that this kind of indicator is not yet on tradingview, at least I could not find anything similar. Do you know any?