PROTECTED SOURCE SCRIPT
已更新 Moving Averages (gotta plot them all!)

The length of the lookback period and the type of moving average can be changed in the inputs tab of the indicator.
The type of moving average can be selected from:
The source of prices to use in the calculation can be selected from:
Line-weight and colours can be edited in the style tab of the indicator.
The default is to plot the SMAs using a length of 20, 50, 100 and 200.
A simpler version of this script is available here:

The type of moving average can be selected from:
- Simple Moving Averages
- Exponential Moving Averages
- Symmetrically Weighted Moving Average
- Weighted Moving Averages
- Volume-weighted Moving Averages
- Moving average used in RSI
- Arnaud Legoux Moving Averages
The source of prices to use in the calculation can be selected from:
- close
- open
- high
- low
- (high + low + close + open)/4
- (high + low)/2
- (high + low + close)/3
Line-weight and colours can be edited in the style tab of the indicator.
The default is to plot the SMAs using a length of 20, 50, 100 and 200.
A simpler version of this script is available here:

版本注释
Reverted to the previous version as TView fixed bug.版本注释
Added an option for double exponential moving averages (DEMA).版本注释
I have added an option to plot a moving average ribbon. You can customize all features and can plot the colour based on whether the line if sloping up (green), down (red) or "flat" (orange).
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
受保护脚本
此脚本以闭源形式发布。 但是,您可以自由使用,没有任何限制 — 了解更多信息这里。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。