Hull Trend with Kahlman

This is an update to the idea of The Kahlman smoother makes the signal more precise (by one candle).
从常用脚本中删除 添加到常用脚本


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?
+2 回复
capissimo CryptoLoverGER
@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')
+4 回复
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.
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.
+1 回复
youssefijburg capissimo
@capissimo, Awesome, I will try them, thank you
Excellent work by the way - I use this everyday..
Capissimo, what settings are you supposed to use with the "Gain" function?
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
dannirodeja capissimo
@capissimo, the kahlman doesnt work with this
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 在线聊天 退出