Linear Regression Slope Histogram

This is the slope of linear regression plotted as a histogram. It has a threshold for the slope in case there is a minimum slope amount that the user wants for it to show green or red. The color shows a dim and bright effect depending on the direction of the slope to better show its rise and fall. You can set the length of the slope in the input setting screen.

Some interesting things about linear regression slope that I found out: It kind of looks like the histogram of ADX or the directional movement lines depending on the length used for the slope. According to Tushar Chande, linear regression can be used as an alternative of finding trend direction, although it is hard to say what length to use for it, I haven't been able to figure out a good way to apply it yet. According to Bulkowski, linear regression of the volume can be used with certain chart patterns that he listed to increase their chance of success by taking trades where the linear regression line points towards, so if you use volume as a source on this indicator you can take trades in whatever said direction. Got any other ideas on how to use linear regression? Feel free to let me knows, would gladly appreciate it.
版本注释: Apparently the slope formula that a lot of people are using that I got off of on here might be wrong. It didn't match the results of what other platforms were showing. Instead of just simply finding rise over run, I think it might be better to just grab the slope portion of the linear regression equation and use that as the slope itself. I took from here alexgrover's linear regression formula and just did that. I think it's likely more accurate than trying to conjure up a made up rise over run that I was doing.

Re-ordered the color code

Tip: you can put in any source in and not just price. You can put in volume, RSI, or whatever indicator that is on display to find their slopes.
从常用脚本中删除 添加到常用脚本


首页 股票筛选器 外汇筛选器 加密货币筛选器 财经日历 如何运作 图表功能 价格 推荐朋友 网站规则 帮助中心 网站 & 经纪商解决方案 插件 图表解决方案 轻量图表库 博客 & 新闻 Twitter
概览 个人资料设置 账户和账单 推荐朋友 代币 我的客服工单 帮助中心 已发表观点 粉丝 正在关注 私人消息 在线聊天 退出