capissimo

Hull Trend with Kahlman

This is an update to the idea of .
The Kahlman smoother makes the signal more precise (by one candle).
Rimuovi dagli script preferiti Aggiungi agli script preferiti
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?
Rispondi
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')
Rispondi
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.
Rispondi
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.
Rispondi
@capissimo, Awesome, I will try them, thank you
Rispondi
Excellent work by the way - I use this everyday..
Rispondi
Capissimo, what settings are you supposed to use with the "Gain" function?
Rispondi
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
Rispondi
thanks for sharing amazing update , does this repainting thanks
Rispondi
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Regolamento Moderatori Soluzioni per broker & siti web Widget Librerie grafiche Chiedi aiuto Suggerisci funzionalità Blog & Novità FAQ Wiki Twitter
Profilo Impostazioni profilo Account e fatturazione TradingView Coin I miei ticket di supporto Chiedi aiuto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci