In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
Has anyone an idea what is happening?
I just about dismissed it completely because when I loaded it the FM line wasn't working so I thought the noisy deriv line was the main signal. I changed the deriv color so it shows up on dark mode, then realized the FM line shows up on other symbols.
If the price is changed to log it seems to work on everything.
src1 = input(title="Source", type=input.source, defval=close)
UseLog = input(true, title=' Use Log Price?', type = input.bool)
src = UseLog ? log(src1) : src1
deriv = change(src, input(1))
In general, the more simple the more robust signals. So simple is often better!