OPEN-SOURCE SCRIPT

Multiple Moving Averages

By flesler
Updated
A set 4 of EMAs, with one of them based on the lows
Release Notes
Uses SMA for the low
Release Notes
SMA period is now 3
Release Notes
- Allow toggling between exponential and simple MAs
Release Notes
Include code to maybe switch the lows SMA to smoothed
Release Notes
Changed default periods
Release Notes
Added another MA with default period 80
Release Notes
  • Reverted the extra MA
  • EMAs and SMAs have independent lengths/periods
Release Notes
  • Short MA is no longer forced on low and period is 4
  • Both types of MA's have periods 10/20/50
Release Notes
  • Default MA lengths changed to 20/50/100
  • SMA and EMA lengths combined into one
Release Notes
  • Short MA turned into a normal, customizable MA
Moving Averages
flesler

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer