PROTECTED SOURCE SCRIPT
SMA Alignment (Triangle & X Signals)

Cash Clash EXCLUSIVE This indicator is designed to provide clean and reliable trend signals using the alignment of four Simple Moving Averages: the 9, 21, 50, and 200-period SMAs. It identifies moments when the short-term, medium-term, and long-term momentum align in one direction—either bullish or bearish—based on the classic principle of moving average stacking.
When the SMAs are aligned in ascending order (9 > 21 > 50 > 200), the indicator plots a green upward triangle below the candle, signaling a bullish trend confirmation. Conversely, when the SMAs align in descending order (9 < 21 < 50 < 200), it plots a red downward triangle above the candle, signaling a bearish trend confirmation. These triangles only appear on the first candle where the alignment begins to avoid noise and repeated signals.
To provide clear exit or de-alignment signals, a small X is plotted on the candle where the alignment breaks—red for bullish exits and green for bearish exits—helping traders identify when the stacked trend loses structure.
All aspects of the indicator are customizable from the settings panel:
You can toggle on/off bullish and bearish signals
Choose whether to display entry triangles and exit Xs
Adjust the lengths of the SMAs to fit your strategy or asset class
This indicator is useful across all timeframes and asset types, making it especially powerful for:
Trend-following strategies
Confirming momentum shifts
Entry/exit timing on higher-timeframe trend plays or intraday setups
Whether you’re a swing trader or scalper, the SMA Alignment Indicator helps filter out noise and clarify market direction with simple, actionable signals.
When the SMAs are aligned in ascending order (9 > 21 > 50 > 200), the indicator plots a green upward triangle below the candle, signaling a bullish trend confirmation. Conversely, when the SMAs align in descending order (9 < 21 < 50 < 200), it plots a red downward triangle above the candle, signaling a bearish trend confirmation. These triangles only appear on the first candle where the alignment begins to avoid noise and repeated signals.
To provide clear exit or de-alignment signals, a small X is plotted on the candle where the alignment breaks—red for bullish exits and green for bearish exits—helping traders identify when the stacked trend loses structure.
All aspects of the indicator are customizable from the settings panel:
You can toggle on/off bullish and bearish signals
Choose whether to display entry triangles and exit Xs
Adjust the lengths of the SMAs to fit your strategy or asset class
This indicator is useful across all timeframes and asset types, making it especially powerful for:
Trend-following strategies
Confirming momentum shifts
Entry/exit timing on higher-timeframe trend plays or intraday setups
Whether you’re a swing trader or scalper, the SMA Alignment Indicator helps filter out noise and clarify market direction with simple, actionable signals.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.