OPEN-SOURCE SCRIPT
已更新 Many Moving Averages

This script allows you to add two moving averages to a chart, where the type of moving average can be chosen from a collection of 15 different moving average algorithms. Each moving average can also have different lengths and crossovers/unders can be displayed and alerted on.
The supported moving average types are:
Many of the moving average algorithms were taken from other peoples' scripts. I'd like to thank the authors for making their code available.
The supported moving average types are:
- Simple Moving Average ( SMA )
- Exponential Moving Average ( EMA )
- Double Exponential Moving Average ( DEMA )
- Triple Exponential Moving Average ( TEMA )
- Weighted Moving Average ( WMA )
- Volume Weighted Moving Average ( VWMA )
- Smoothed Moving Average ( SMMA )
- Hull Moving Average ( HMA )
- Least Square Moving Average/Linear Regression ( LSMA )
- Arnaud Legoux Moving Average ( ALMA )
- Jurik Moving Average ( JMA )
- Volatility Adjusted Moving Average ( VAMA )
- Fractal Adaptive Moving Average ( FRAMA )
- Zero-Lag Exponential Moving Average ( ZLEMA )
- Kauman Adaptive Moving Average ( KAMA )
Many of the moving average algorithms were taken from other peoples' scripts. I'd like to thank the authors for making their code available.
版本注释
Replaced crosses with triangles and made them a little bit smaller, in order to make them visually less distracting, yet still easily visible.版本注释
Added ALMA to the dropdown开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
![Multi Time Frame MA Duplicates [Colour Switch]](https://s3.tradingview.com/u/Ubwj5Ygk_mid.png)





