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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。