capissimo

Hull Trend with Kahlman

This is an update to the idea of .
The Kahlman smoother makes the signal more precise (by one candle).
Remove from Favorite Scripts Add to Favorite Scripts
Thank you so much for this valuable script. Question: Is the result without repainting? Thanks in advance for the answer. Maybe also an Idea for an Alertcondition statement?
Reply
capissimo cihanoezkaya
@cihanoezkaya, according to a recent article on repainting, since the script does not contain a security statement a-la security(..., price, ...), where price is close, hl2, or any other CURRENT value, it does not repaint.

alertcondition(crossup, title='Buy', message='go long')
alertcondition(crossdn, title='Sell', message='go short')
Reply
Thank you so much what a wonderfull script. Do you have any idea what indicator combination I can use it with to further improve the signals?
I tried it with oscillators but they give horrible results.
Reply
capissimo youssefijburg
@youssefijburg, welcome to the trial-and-error methodology)
For starters you can try these:



- this one should be adjusted to avoid repainting: change current hlc3 value to the previous hlc3 value in security func.
Reply
@capissimo, Awesome, I will try them, thank you
Reply
Excellent work by the way - I use this everyday..
Reply
Capissimo, what settings are you supposed to use with the "Gain" function?
Reply
capissimo Hunter-Gatherer
@Hunter-Gatherer, here's an update. Removed factor 1000.
gain = input(.5, "Gain", step=.01)
kahlman(x, g) =>
kf = 0.0
dk = x - nz(kf, x)
smooth = nz(kf,x)+dk*sqrt(g*2)
velo = 0.0
velo := nz(velo,0) + (g*dk)
kf := smooth+velo
Reply
thanks for sharing amazing update , does this repainting thanks
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Get Help Ideas Published Followers Following Private Messages Chat Sign Out