jdlim

Moving Averages (SMA and EMA)

Plot the simple moving averages ( SMA ) and/or exponential moving averages ( EMA ).
The length of the lookback period and the type of moving average can be changed in the inputs tab of the indicator.
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.
Release Notes: Added options to select the source of prices to use in the calculation ("close", "open", "high", "low", "(high + low + close + open)/4", "(high + low)/2", "(high + low + close)/3")
Release Notes: Added more options.
Now you can select 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
Release Notes: Simplified the inputs tab.
Release Notes: Streamlined and simplified the inputs.
Release Notes: I've temporarily removed the popup to confirm inputs when adding the indicator due to a problem with tradingview.
You can still use the settings cog next to the indicator name to change them.

Links to my other indicators
Plot all the MAs


TD sequential indicator


TD alternatives


RSI with a horizontal line


Referral Links
Bitmex 10% fee discount for 6 months
https://www.bitmex.com/register/Ilzb0e
TradingView (50% off after trial period ends)
https://tradingview.go2cloud.org/SH2Hg

Tip Jar
BTC: 1FgEeDDMF7QKydQPJVCDjp7ypjREp8XG6c
LTC: LM9KsXz7GUxCN9g9EjTC8ayviDEmBK14rw
Release Notes: Missed a few before. Temp update to fix errors.
Release Notes: Reverted to the previous version as TView fixed bug.
Release Notes: Fixed mistake on the source price code.
Release Notes: Added an option for double exponential moving averages (DEMA).
Release Notes: 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).
Release Notes: Added an option to plot an envelope around one of the moving averages using a user input percentage.
Release Notes: V2.00
Added an MA Ribbon/Cloud
See setup video here



Examples
10 MA Shaded ribbon colored by slope

10 MA Shaded "cloud" colored by its relative position to price with 4 MAs



Links to my other indicators
TD sequential indicator screener


Oscillator Divergences


Oscillator Divergences Screener


Swing Points and Swing Failure Patterns


Swing Points and Swing Failure Patterns Screener


Support and Resistance Levels with auto Fibonacci


Average True Range (ATR) Channel and Trailing Stop Losses


Average directional index with directional movement indicator


Market Hours


Referral Links
Bitmex 10% fee discount for 6 months
https://www.bitmex.com/register/Ilzb0e
TradingView (50% off after trial period ends)
https://tradingview.go2cloud.org/SH2Hg

Tip Jar
BTC: 1FgEeDDMF7QKydQPJVCDjp7ypjREp8XG6c
LTC: LM9KsXz7GUxCN9g9EjTC8ayviDEmBK14rw
Release Notes: V2.01
-Fixed an error with the color when using position relative to the price (had them flipped by accident)
Remove from Favorite Scripts Add to Favorite Scripts
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Help Center Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out