OPEN-SOURCE SCRIPT
已更新 Deviation Bands

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).
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).
版本注释
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.版本注释
Fixed inverse sign flaw. Added comments.版本注释
Improved order of plotting to make it more obvious which values are shown on the indicator and makes it easier to specify alert levels.版本注释
Added color gradient option.版本注释
Converted bias to a configurable feature instead of always including it. Probably not useful for most cases.版本注释
Fixed color scheme to use subtle gradients by default but maintained edges where it made more sense.This also makes color customization much easier.
版本注释
Much improved flexibility to specify minutes or days instead of just bars for any length in the calculation.Configuration screen is more streamlined.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。