
A trading signal that compares three Simple Moving Averages to generate buy and sell signals based on their relative positions and price movement.
Explore complementary indicator rolesHow it works
The SMA Comparison signal analyzes three different Simple Moving Averages: 20-day, 50-day, and 200-day, calculated from closing prices. It examines the relative positioning of these moving averages to determine potential market trends and entry points. The indicator creates specific conditions for buy and sell signals based on the hierarchical arrangement of these SMAs.
When the 200-day SMA is above the 50-day SMA, and the 50-day SMA is above the 20-day SMA, the signal looks for additional price confirmation. Buy signals are generated when the current price is lower than the 20-day SMA, while sell signals occur when the price is higher than the 20-day SMA, with a mandatory 15-day cooldown between signals to reduce false entries.
Why it may be useful
Moving average comparisons provide traders with a systematic approach to identifying potential trend changes and market momentum. By using multiple timeframe moving averages, traders can gain insights into short-term and long-term market trends, helping to filter out noise and focus on meaningful price movements. This method allows for a more nuanced understanding of market dynamics beyond simple price action.
The signal's strength lies in its ability to combine multiple moving averages with price context, creating a more robust trading indicator. It helps traders identify potential trend reversals, momentum shifts, and entry points by providing visual cues through green and red triangle signals. This approach offers a disciplined method for evaluating market conditions and potential trade opportunities.
When to explore it
The SMA Comparison signal works best in markets with clear trending characteristics, particularly in stocks, forex, and commodities with moderate to high liquidity. It is most effective during periods of sustained directional movement, where price trends are more pronounced and moving averages can effectively capture market sentiment. Traders should consider using this signal in markets that exhibit consistent directional moves rather than highly choppy or range-bound environments.
The indicator is particularly useful for traders seeking a systematic approach to trend identification and entry timing. It provides clear visual signals and helps reduce emotional decision-making by offering objective criteria for potential trades. However, traders should combine this signal with other technical and fundamental analysis tools to confirm signals and manage risk effectively.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.






![MTF RSI & SMA Crossover [OB/OS Filtered Signals] chart preview](https://s3.tradingview.com/a/aFKcx6y2.png?v=1744630202)