OPEN-SOURCE SCRIPT

Moving Averages With Cross Alerts

A simple way to add up to 5 moving averages with optional crossover/crossunder alerts.


Available options for Moving Average Type are:
  • SMA
  • EMA (default)
  • HMA
  • RMA
  • WMA
  • VWMA
  • VWAP
  • ALMA



By default, 5 moving averages are enabled and set to the following:
  • MA1 set to 5
  • MA2 set to 13
  • MA3 set to 50
  • MA4 set to 200
  • MA5 set to 800



Each moving average has the following options:
  • Enable/Disable
  • Source (default is close)
  • Length
  • Color
alertcrossovercrossunderCryptocurrencycryptotradingdowntrendExponential Moving Average (EMA)Moving AveragesSimple Moving Average (SMA)uptrend

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明