AlphaTrading-WolfPack

Alpha Trading - Deviation Log Pro - Coder Wolves

Alpha Trading - Deviation Log Pro

Here at Alpha Trading we love our indicators built on returns. In our view, the only way to play divergences in Trading is divergences between Returns based oscillators and Price.

The Alpha Trading Deviation Log Pro displays a mean of log returns, with returns and price both weighted using our proprietary root mean square (RMS) Z-Score.

We also show standard error and confidence intervals.

Within the indicator settings, you can apply alerts to the RMS Z Score, as well as an option to turn on triangle and square shapes to assist with showing potential buy/sell and get out of trade signals.

Things to Understand First

Standard Error

The term "standard error" is used to refer to the standard deviation of various sample statistics, such as the mean or median. For example, the "standard error of the mean" refers to the standard deviation of the distribution of sample means taken from a population. The smaller the standard error, the more representative the sample will be of the overall population.

The relationship between the standard error and the standard deviation is such that, for a given sample size, the standard error equals the standard deviation divided by the square root of the sample size. The standard error is also inversely proportional to the sample size; the larger the sample size, the smaller the standard error because the statistic will approach the actual value.

The standard error is considered part of inferential statistics. It represents the standard deviation of the mean within a dataset. This serves as a measure of variation for random variables, providing a measurement for the spread. The smaller the spread, the more accurate the dataset.

Confidence Interval

A confidence interval is a range of values where an unknown population parameter is expected to lie most of the time, if you were to repeat your study with new random samples.

With a 95% confidence level, 95% of all sample means will be expected to lie within a confidence interval of ± 1.96 standard errors of the sample mean.

Settings

• Confidence Intervals plotted with Green and Red Horizontal Lines

• Standard Error Mean - Plotted as a blue dots

• Standard Error Upper - Plotted as a grey line

• Standard Error Lower -Plotted as grey line

• RMS Z-Score Alerts shown as Red and Green Dots

• Potential Buy Signal Green Triangle Up

• Potential Sell Signal - Red Triangle Down

• Get out of Long Trade - White Square

• Get Out of Short Trade - White Square

The Chart below is showing the Divergences between Returns and Price Action over a long term trend of a time series, no matter the time frame.


Release Notes:
Small bug fix.
Release Notes:
adapted for very small asset values
Release Notes:
Added Predictor Coloring

Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact AlphaTrading-WolfPack for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Author's instructions

To gain access to this script request support in the Alpha Trading Discord. discord.gg/kwBnS9Gu

Want to use this script on a chart?

Warning: please read before requesting access.