OPEN-SOURCE SCRIPT
Triple SMA with Trend Confirmation Signals

A clean and customizable moving average indicator featuring three SMAs (50, 150, 200) with intelligent trend confirmation arrows.
Features:
Three Moving Averages: 50, 150, and 200-period SMAs with fully customizable colors and line widths
50/150 Crossover Dots: Visual markers on the 150 MA line when the 50 MA crosses over/under
Trend Confirmation Arrows: Smart arrows that confirm sustained moves above/below the 150 MA
No False Signals: Arrows only appear after two closes in the same direction, preventing whipsaws
How It Works:
The 150 SMA is the key decision line. The indicator tracks when price moves above or below this level and waits for confirmation before displaying an arrow:
Upward Arrow (↑): Appears above candle when price closes above the 150 MA twice, with the second close higher than the first
Downward Arrow (↓): Appears below candle when price closes below the 150 MA twice, with the second close lower than the first
Arrows alternate - you'll never see two consecutive arrows in the same direction, ensuring you only get signals at genuine trend changes.
Use Cases:
Identify sustained breakouts above/below the 150 MA
Confirm trend direction before entering trades
Spot potential exit points when price weakens below key moving averages
Track golden/death crosses between the 50 and 150 SMAs
Customization:
All colors, line widths, and periods are fully adjustable through the settings panel. Arrow color is also customizable for your preferred chart theme.
Features:
Three Moving Averages: 50, 150, and 200-period SMAs with fully customizable colors and line widths
50/150 Crossover Dots: Visual markers on the 150 MA line when the 50 MA crosses over/under
Trend Confirmation Arrows: Smart arrows that confirm sustained moves above/below the 150 MA
No False Signals: Arrows only appear after two closes in the same direction, preventing whipsaws
How It Works:
The 150 SMA is the key decision line. The indicator tracks when price moves above or below this level and waits for confirmation before displaying an arrow:
Upward Arrow (↑): Appears above candle when price closes above the 150 MA twice, with the second close higher than the first
Downward Arrow (↓): Appears below candle when price closes below the 150 MA twice, with the second close lower than the first
Arrows alternate - you'll never see two consecutive arrows in the same direction, ensuring you only get signals at genuine trend changes.
Use Cases:
Identify sustained breakouts above/below the 150 MA
Confirm trend direction before entering trades
Spot potential exit points when price weakens below key moving averages
Track golden/death crosses between the 50 and 150 SMAs
Customization:
All colors, line widths, and periods are fully adjustable through the settings panel. Arrow color is also customizable for your preferred chart theme.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.