MTF Structure & Trend Pro [SachinThakare]

479
MTF Structure & Trend Pro shows, for up to 15 timeframes in one table, two separate readings side by side: market STRUCTURE (where the last confirmed swing was broken) and TREND (where price sits relative to its moving averages). Structure and trend often disagree, especially at turning points; seeing both for every timeframe at once shows whether a move is a fresh structure shift against the trend or a continuation with it.

WHAT IS DIFFERENT FROM A TYPICAL MTF TREND TABLE
- Structure AND trend for every timeframe: most multi-timeframe tables show only a trend (moving-average) reading. Here each row also has its own market-structure reading (last confirmed swing break, with MSS / BOS named while fresh), calculated separately on that timeframe's data, so agreement or conflict between structure and trend is visible on every timeframe at once.
- Candle-close countdown (CC) per timeframe row: the table shows how much time is left until the current candle of each timeframe closes (m:ss, h:mm, or days; by default on the 5m to 4H rows, adjustable up to every row), and the text turns yellow / red as the close gets near (warning and urgent thresholds are adjustable). Because the rows use closed candles only, the countdown also tells exactly when each row will next update.
- Rows without data are not counted as Neutral: a timeframe with no data or still warming up is left out of the average instead of pulling it toward Neutral.

WHAT THE TABLE SHOWS (one row per timeframe, 1m to 1M, each can be switched on or off)
- Structure column: Bull / Bear / Neutral, with the latest event name while it is fresh - MSS (Market Structure Shift, a break against the previous structure) or BOS (Break of Structure, a break in the same direction).
- Trend column: Up / Down / Neutral, in a strong or normal shade.
- CC column: countdown to the close of that timeframe's current candle.
- AVG row: a weighted average of all trend rows (Strong Up / Up / Neutral / Down / Strong Down).

HOW STRUCTURE IS CALCULATED (each timeframe on its own data)
- Swing highs and lows are pivots of the candle wicks (optional: closing prices).
- A break counts only when a candle CLOSES beyond the last swing AND its body is larger than ATR x a multiplier (displacement), so small pokes through a level are ignored.
- Optional ICT filter: the break must be preceded by a recent liquidity sweep of the opposite swing (a wick through the level that closes back inside).
- A break against the current structure is labelled MSS, a break with it BOS. If one candle breaks both sides, the side it travelled further beyond wins.
- On intraday rows the structure can reset at each new day (optional).

HOW TREND IS CALCULATED (Triple Confirmation, each timeframe on its own data)
Three votes, each +1 / -1 / 0:
1. Short MA vs long MA (default 9 / 21, type selectable: EMA, SMA, WMA, HMA).
2. Close vs a context EMA (default 50).
3. Last pivot break (a simple structure vote).
The sum decides the direction; when all three agree the row uses the strong shade.
A neutral band based on ATR (as a % of price) stops tiny MA gaps or a price sitting right on the EMA from being forced into Up or Down; it adapts automatically to the instrument's volatility (a manual % is also available).

THE AVG ROW
- Higher timeframes carry more weight: 1m-15m x1, 30m-4H x2, 6H-1M x4 (can be switched to equal weights).
- Optional volume filter: a timeframe whose last candle traded below its 20-bar average volume is left out of the average.
- Timeframes without data, or still warming up, are left out instead of being counted as Neutral, and the cell shows N/A when no row qualifies.

WHY THESE PARTS ARE COMBINED
Trend tools (moving averages) lag but show direction; structure breaks react faster but are noisy. Showing both per timeframe lets the trader see agreement (structure and trend aligned on higher timeframes) or conflict (a fresh MSS against the trend, often an early warning) without switching charts. The candle-close countdown helps time entries around the close of the higher-timeframe candle the trader is watching.

NO REPAINTING ON HIGHER TIMEFRAMES
Rows for timeframes above the chart's timeframe read the last CLOSED candle of that timeframe ([1] offset with lookahead, the documented non-repainting method). Rows at or below the chart timeframe use a candle only after it has closed. So a row does not change after the fact when its candle closes or on reload.

OPTIONAL CHART ELEMENTS (off by default)
Short/long MA lines with crossover stars (stars confirmed on bar close), a third MA for reference, and candle colouring by the AVG bias.

ALERTS
Strong Up, Up, Down, Strong Down (AVG row) and Bull / Bear MA cross.

HOW TO USE
1. Read the higher-timeframe rows and the AVG row for the dominant direction.
2. Look for structure and trend agreeing on the higher timeframes, then use a lower-timeframe BOS or MSS in that direction for timing.
3. A fresh MSS against the higher-timeframe trend is a warning, not a signal on its own.
4. Adjust the pivot length and displacement multiplier: lower values react faster but are noisier.

LIMITATIONS
- Structure on 1m-3m is noisy; 1H and above is more reliable.
- Pivots confirm only after the pivot length in bars, so structure reacts with that delay (this is not repainting).
- On symbols where volume is a tick count (many indices, spot FX / spot gold feeds) the volume filter compares activity, not traded size.
- The countdown updates on incoming ticks, so on very quiet symbols it can lag.
- Use on a standard candle chart.

CHART ABOVE
BTCUSDT 15m with 'Show EMA System' ON and the volume filter OFF; all other inputs at their defaults.

This script is an analysis tool. It does not provide financial advice, and no indicator can guarantee results. Test any setting on your own market and timeframe before using it with real money.

Author: SachinThakare

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。