jdlim

Moving Averages (gotta plot them all!)

374 views
57
374 3
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:

  • 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:

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
TD sequential indicator


TD alternatives


RSI with a horizontal line


Plot MAs



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: Reverted to the previous version as TView fixed bug.
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).
Remove from Favorite Scripts Add to Favorite Scripts
HI May I have access to your script please :-)
Reply
jdlim bmstrading
Hi @bmstrading, just favoraite it and it will show up in your list. Theres also this version where you can plot a MA ribbon etc.
Reply
Reply
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