Adaptive Least Squares

An adaptive filtering technique allowing permanent re-evaluation of the filter parameters according to price volatility . The construction of this filter is based on the formula of moving ordinary least squares or lsma, the period parameter is estimated by dividing the true range with its highest. The filter will react faster during high volatility periods and slower during low volatility ones.

High smooth parameter will create smoother results, values inferior to 3 are recommended.

You can easily replace the parameter estimation method as long as the one used fluctuate in a range of , for example you can use the efficiency ratio

ER = abs(change(close,length))/sum(abs(change(close)),length)

Or the Fractal Dimension Index , in fact any values will work as long as they are rescaled ( stoch (value,value,value,length)/100)

For any suggestions/questions feel free to send me a message :)

从常用脚本中删除 添加到常用脚本

Become a Patreon and get access to exclusive technical indicators!

You can also check out some of the indicators I made for luxalgo :


Nice one!
+1 回复
alexgrover spinte7
@spinte7, my pleasure :)
Is it supposed to be (2 / alpha) + 1 or 2 / (alpha + 1)?
首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 在线聊天 退出