OPEN-SOURCE SCRIPT

15 SMA Trend-Friend MTF

368
15 SMA Trend-Friend MTF is a high-level situational awareness tool designed to provide an instant "bird's-eye view" of a stock's trend structure across four critical timeframes: 1 Hour, 4 Hour, Daily, and Weekly.

By pulling real-time data from multiple time horizons into a single, clean table at the top of your chart, this indicator eliminates the need to constantly flip between tabs, allowing you to maintain focus on your primary execution timeframe.

Core Logic:
The dashboard tracks the SMA 15 across all four timeframes. A signal is determined by the relationship between the price and this moving average:

▲ UP (Green): Price has closed above the SMA 15 and is successfully maintaining its position above it. This indicates a confirmed bullish trend on that specific timeframe.

▼ DOWN (Red): Price has closed below the SMA 15 and is maintaining its position beneath it. This indicates a confirmed bearish trend on that specific timeframe.
Why This Is Valuable to Traders:

Trend Confluence: The most powerful moves in the market happen when multiple timeframes align. If the 1H, 4H, and 1D are all showing "UP," you have a high-probability long setup. If they are mixed, you know to expect chop or a potential reversal.

Contextual Awareness: It prevents "tunnel vision." A trader looking at a 5-minute chart might see a buy signal, but the MTF Dashboard will instantly warn them if the Daily and Weekly trends are heavily "DOWN," suggesting they are trading against a massive wall of resistance.
Efficiency: It saves critical seconds during fast-moving market conditions. You can scan through your watchlist and instantly see which stocks have "Full Alignment" (all green or all red) without ever leaving your main chart.

Customizable Visibility: With adjustable text sizes (up to "Huge") and a "Top Padding" feature, the dashboard can be positioned to stay perfectly visible regardless of your screen resolution or TradingView UI layout.

Best Use Case:
Use this as your "Master Filter." Before taking any signal from the Apex Momentum Filter, glance at the MTF Trend Dashboard. If your entry signal aligns with the higher-timeframe trends (Daily and Weekly), your probability of a successful trade increases significantly.

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.