OPEN-SOURCE SCRIPT

Linear Regression Channel [jwammo12]

已更新
This is a non-repaint version of the built-in linear regression indicator in pine. It creates moving bands where the current bar matches the built-in Linear Regression indicator exactly (see screenshot). The key to replicating the built-in function is calculating the std deviation across the length of bars away from the current Linear Regression line, as opposed to the linear regression line that would have been calculated at the historic bar.

快照
版本注释
update to version 3
Linear RegressionStandard DeviationTrend AnalysisVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Software Engineer and FX, Options, Crypto Trader. Previously worked at large options market maker. If you like my scripts and would like to donate:
Bitcoin: 179ETrGo3FCVcnBV8i1uc4J8YHFRknYytz
Eth: 0x73d59A8214FD70053aF37E9700692e25de441245

免责声明