Colored Moving Averages Can Help You Spot Trends

Moving averages are perhaps the most popular indicator in technical analysis . But sometimes they're not the easiest to interpret.

This indicator helps you see the trend by coloring the MA based on its direction. It's green when rising and red when falling. Of course, you can easily change that in the Style tab under Settings.

Color MA also lets you select from five different types of moving averages, including simple, exponential and Hull. We've included a list for easy reference below. Just change the "AvgType" on the Input tab under Settings.

This chart of Facebook shows the 20-day simple moving average . Notice how swings often marked turns in the stock price.

AvgType codes:
1 - Simple Moving Average
2 - Exponential Moving Average
3 - Hull Moving Average
4 - Weighted Moving Average
5 - Volume Weighted Moving Average
Rimuovi dagli script preferiti Aggiungi agli script preferiti


Colon (:) expected here line 11
+4 Rispondi
I'm fairly new to TS and tried adding to a new Easy Language indicator, but I couldn't verify because of the errors. How do you get this to work?
this code has error expecting : line 12,13,14
Home Screener azioni Screener forex Screener cripto Calendario economico Come funziona Caratteristiche Grafico Costi Invita un amico Regolamento Centro di supporto Soluzioni per broker & siti web Widget Librerie grafiche Libreria grafica leggera Blog & Novità Twitter
Profilo Impostazioni profilo Account e fatturazione Amici invitati Coin I miei ticket di supporto Centro di supporto Idee pubblicate Follower Seguiti Messaggi Privati Chat Esci