OPEN-SOURCE SCRIPT

Deviation Bands

Aktualisiert
This indicator plots the 1, 2 and 3 standard deviations from the mean as bands of color (hot and cold). Useful in identifying likely points of mean reversion.
Default mean is WMA 200 but can be SMA, EMA, VWMA, and VAWMA.
Calculating the standard deviation is done by first cleaning the data of outliers (configurable).
Versionshinweise
Adds the option to use the selected source as the mean value. This allows for any indicator to become the mean but forces the deviation calculation to use HLC3.
Versionshinweise
Fixed inverse sign flaw. Added comments.
Versionshinweise
Improved order of plotting to make it more obvious which values are shown on the indicator and makes it easier to specify alert levels.
Versionshinweise
Added color gradient option.
Versionshinweise
Converted bias to a configurable feature instead of always including it. Probably not useful for most cases.
Versionshinweise
Fixed color scheme to use subtle gradients by default but maintained edges where it made more sense.
This also makes color customization much easier.
Versionshinweise
Much improved flexibility to specify minutes or days instead of just bars for any length in the calculation.
Configuration screen is more streamlined.
Bands and Channelsdeviationbandsmeanmean-reversionmeanreversionMoving AveragesVolatility

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss