Moon_Rocket_Capital

Dynamic Regression Bandings (Base10)

Dynamic Regression Bandings (Base10) is designed to provide a statistical range of outlier pricing within an established trend. Instead of calculations being performed on a linear scale, spot price is adjusted logarithmically, allowing for regression to be performed over longer periods without compound movement creating abnormal behaviour.

The range is set through user input of a minimum and maximum values; from which the script identifies the backward length (candle count) with the greatest correlation to price. This process is performed for each candle, so the regression length may change dynamically across time. By doing this, we are able to look at the current candle for its probability of being an outlier compared to the mean of the regression. If the spot price is outside the range of the expected deviation (e.g. +/- 2 standard deviations from the mean); a buy or sell signal is triggered.

IMPORTANT: This does not aim to validate the volatility of a trend, so the user must identify the historical fit. It is recommended to use the replay functionality to make these adjustments with historical data in order to avoid over fitting the model to the data; which will create long term issues with performance.

When a trend is found in the specified range; it is assumed that the white noise (movement +/- to the trend) happens in a normal & unbiased way. In a fair market; the buyers and sells should balance themselves out in such a way that there is no inherent bias outside of the trend. As such, we can assume that almost all movement within the trend will be within +/- 3 standard deviations. So if the selected deviation range is greater than that; it is likely that the model is being over fit to account for extreme volatility.

Below are examples of the indicator on different charts:

USDAUD

BTCUSD

AMZN

A2M

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与Moon_Rocket_Capital联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。