OPEN-SOURCE SCRIPT

MTF Bull/Bear Table

27
MTF Bull/Bear Table — Multi-Timeframe Confluence Scanner

OVERVIEW

This tool scans a custom watchlist of symbols across five timeframes at once
(5m, 15m, 1h, 4h, 1D) and displays the result as a single table, so you can
read directional confluence across your whole list at a glance instead of
flipping through charts one by one.

For each symbol/timeframe pair, the script classifies trend state as:

BULL — price is above both the fast MA and the slow MA
BEAR — price is below both the fast MA and the slow MA
NEUTRAL — price is on opposite sides of the two MAs (mixed signal)

By default the fast MA is a 20-period SMA and the slow MA is a 200-period
SMA, the classic short-term/long-term trend pair — price above both means
both timeframes agree the trend is up, price below both means they agree
it's down, and a mixed reading flags a timeframe that's transitioning or
consolidating. Both MA lengths are adjustable in the settings.

HOW TO READ THE TABLE

Each row is one symbol. Reading left to right:

TICKER the instrument
PRICE current live price (read from the daily context; it
updates in real time and is not a fixed daily close)
24H% / 1H% / 4H% percentage change since the last completed candle close
on that timeframe (daily / 1h / 4h respectively), colored
by sign. This is not a fixed rolling window — the actual
elapsed time varies depending on where price currently
sits within the still-forming candle (e.g. "24H%" can
reflect anywhere from a few minutes to nearly 24 hours
of movement, depending on the time of day).
5M / 15M / 1H / 4H / D trend state for each timeframe, color-coded:
green = BULL, red = BEAR, gray = NEUTRAL

Reading a row across the five timeframe columns shows you confluence at a
glance: five green cells is trend alignment from intraday noise all the way
up to the daily chart — a high-conviction directional read. A mix of colors
means timeframes disagree, which typically means either a transition in
progress or a level currently being tested.

This is a screening and context tool, not a standalone entry signal — it
tells you which timeframes agree and which don't, not where to place a
trade. Combine it with your own setup criteria (structure, volume, price
action) for actual entries.

SETTINGS

Symbols comma-separated list with full exchange prefix
(e.g. HYPERLIQUID:BTCUSDC.P). TradingView cannot read your
saved watchlist programmatically, so the list is entered
directly in the script settings.
Fast / Slow MA length default 20 / 200, adjustable
Table position corner of the chart the table is drawn in
Show price columns toggle price/change columns on or off

LIMITATIONS

TradingView caps every script at a fixed number of unique request.security()
calls — 40 on non-Pro plans, 64 on Pro/Expert/Ultimate. This script uses one
call per symbol per timeframe (5 timeframes), so the practical ceiling is
roughly 8 symbols on a non-Pro plan and ~12 on Pro. Trim the symbol list to
fit your plan; the script will show "N/A" for any symbol it fails to resolve
rather than breaking the whole table.

Percentage-change values for 24H/1H/4H are pulled from the same requests
already used for the trend classification, so they add no extra request
cost beyond the base 5-per-symbol.

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.