OPEN-SOURCE SCRIPT

TopSetup Lite - Multi-TF Bias Dashboard

142
WHAT IT DOES
A compact dashboard that reads directional bias on three timeframes at once (15M / 5M / 1M) and shows whether they agree. It answers one question before you zoom in: which side of the market is currently favoured — and do the timeframes align?

HOW IT WORKS
• For each timeframe the script requests price data via request.security() and evaluates two conditions: the position of price relative to an EMA pair (20/50), and the alignment of those EMAs over a lookback window.
• Each timeframe is classified as Bull, Bear or Neutral. Neutral is returned when the conditions disagree — the script deliberately refuses to force a direction.
• The three results are combined into a confluence verdict: 3/3 (strong alignment), 2/3 (partial) or mixed (no alignment).
• Optional BOS / CHoCH labels mark structure breaks based on pivot highs/lows, so every bias reading can be verified directly on the chart.

SETTINGS
Pivot length, structure labels on/off, dashboard on/off, table position and size are configurable.

HOW TO USE IT
Treat the verdict as a filter, not a signal: look for setups only in the direction of 2/3 or 3/3 agreement, and stand aside on mixed readings. Built and tested on Gold and Bitcoin; works on any liquid symbol. The full logic can be read in the source code.

Educational tool only. No financial advice, no performance guarantees.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.