Tradingview: Multi SMA’s Indicator

Tradingview places a limit on the number of indicators you can place on a chart. If you are on a free or lower paid plan, this means you need to choose your indicators wisely. Users on the free tier are limited to just three indicators and even the first paid pro plan is limited to five. Don’t get me wrong, I am not an indicator junkie but for those of us who like to keep an eye on the 100 and 200 moving average levels, we are going to find our quota used up quickly. Consequently, I decided┬áto develop a simple “multi” SMA indicator so that multiple SMA’s can be monitored whilst only using a single indicator slot.

About the Indicator

Although the indicator does nothing more than it says on the tin, There are a couple of points worth mentioning:

  1. The indicator will let you view up to 4 SMA’s
  2. You can set the period for each SMA independently
  3. You can set the resolution for each SMA independently (So you can see the see the daily SMA level when on the 15-minute chart for example)
  4. Each SMA can be turned on/off independently to avoid clutter.

The Multiple SMA’s Indicator Code

On the charts:

I am sure you know what to expect with an SMA but here is what the indicator looks like on the charts:

Defaults

Multiple SMA's - Default Settings

Mixing daily and minute resolutions

The following screenshot mixes daily and 15-minute 50 and 200 SMA’s on the 15-minute chart.

Multiple SMA's 15-minute and daily timeframes

And there we have it… Not much to it. I hope you find it useful!