RicardoSantos

John Ehlers - The Price Radio

Price curves consist of much noise and little signal. For separating the latter from the former, John Ehlers proposed in the Stocks&Commodities May 2021 issue an unusual approach: Treat the price curve like a radio wave. Apply AM and FM demodulating technology for separating trade signals from the underlying noise.
reference: https://financial-hacker.com/petra-on-pr...
Release Notes: updated fm signal to work in all tickets. leave a comment if it does not.
Open-source script

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.

Want to use this script on a chart?

Kommentarer

500 coins
+1 Svara
500 coins
+1 Svara
Really appreciate your effort in making this. Can someone please explain what I am looking at? I've added to my chart and trying to understand the lines but I am blank. Read through the link and still... I'd really appreciate it. ty
+20 Svara
Thank you so much for this John Ehlers indicator!
When plotting on altcoins the middle line is not horizontal anymore.
What can be the problem and is there a solution?
+4 Svara
Ether2020 Ether2020
@Ether2020, it has something to do with numbers behind the comma/ dot like 0.0523 or whole numbers like 1200.45.
Has anyone an idea what is happening?
+1 Svara
Anything Ehlers is always interesting, thanks. :)

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))
+2 Svara
Ether2020 AtomOfScent
@AtomOfScent, Thanks you so much! I am going to try this because the indicator seems very interesting. In the source they are working on a strategy to so I am curious to backtest this.
In general, the more simple the more robust signals. So simple is often better!
Svara