context-driven trading

Why your trend entries fail when market phase changes

by ZynAlgoAugust 6, 20269 min read

The problem with taking the same setup in every market phase

You take a clean pullback entry in an uptrend, then price chops sideways and stops you out. The setup was valid; the phase was wrong. A breakout strategy that works during expansion bleeds during consolidation, and a range-mean-reversion setup that works in quiet Asia fails in trending London. Most traders solve this by adding more filters to their entry logic. Context TDV solves it differently: it reads the market phase first, then tells you which setup to run and how to configure it.

What Context TDV does

Context is the decision layer for ZynAlgo TrendLine on TradingView. It does not generate BUY or SELL signals itself. Instead, it reads market conditions on a higher timeframe and recommends exactly how TrendLine should be configured to suit the current phase.

Two layers, two jobs:

  • Context - the decision layer. Reads higher-timeframe structure, identifies the market phase, and recommends the TrendLine Mode, Sensitivity, Stability and Follow Trend setting to run.
  • TrendLine - the execution layer. Applies those settings on your trading timeframe and plots the actual entry, stop loss and take-profit levels.

You do not need Context to run TrendLine. What Context adds is filtering: it keeps you from taking a good signal in a market phase that does not support it.

To reach that verdict, Context reads on every bar:

  • EMA structure and slope (20 / 50 / 200) - trend alignment and direction
  • ATR (14) against its own average - volatility expanding or contracting
  • Daily higher-timeframe bias - the D1 EMA stack, slope and price position
  • Range regimes - daily inside-bar ranges and 24-bar compression ranges
  • Swing structure - pivot highs and lows, liquidity sweeps, break of structure
  • RSI rhythm - a 9-EMA against a 45-WMA of RSI(14)
  • ADX (14) momentum decay and volume relative to its 20-bar average
  • Trading session - Sydney, Asia, London, New York

All of it is compressed into one dashboard answer: the phase you are in, the phase most likely next, the TrendLine settings to use, and what to avoid while the current phase holds.

The four market phases and their matching TrendLine modes

Every setup has an environment where it works and an environment where it quietly bleeds. A pullback entry taken inside a dead range fails for the same reason a breakout entry taken into an exhausted trend fails - the setup was fine, the context was wrong. Context delivers one verdict about that environment, mapped one-to-one onto the TrendLine Mode you should be running.

There are four modes:

  • Mode 1 - Pullback → TrendLine Mode 1. The market is trending and price is temporarily retracing before resuming. Enter on pullbacks within the trend.
  • Mode 2 - Expansion → TrendLine Mode 2. A strong, directional phase with momentum. Follow the trending direction; do not fade it.
  • Mode 3 - Reversal → TrendLine Mode 3. Structure is changing direction. Watch for momentum-based reversals rather than continuation.
  • Mode 4 - Range → TrendLine Mode 4. No clear trend; price oscillates between boundaries. Trade the edges, not the middle.

The most costly mistake users make is failing to update TrendLine when Context changes - running Mode 4 settings while Context has moved to Mode 2, or the reverse. The second most costly is bias-flipping: rewriting your read of the market every time one candle looks convincing. Context deliberately resists that second one. Each mode carries an inertia bonus and a minimum hold in bars, and a challenger mode must beat the incumbent by a clear score gap before the label changes. While price sits inside a confirmed range in Mode 4, switching is blocked outright unless a real breakout is forming. In quiet volatility the gap required to switch widens; when volatility spikes, the hold period is halved so the read can react.

The tool in this guide

Context TDV

Full specification, pricing and platform support live on the product page.

TradingView Indicator

Context TDV

(1)
$44.10 with crypto — save $4.90
$49View

How to use Context in a live session

Context does not print entry signals - there is no buy arrow and no sell arrow in this indicator, by design. TrendLine produces the signal; Context decides whether that signal is worth taking and how TrendLine should be tuned. Read the dashboard top to bottom before you act.

The dashboard displays:

  • Bias - Bullish, Bearish or Neutral. In a Bullish read, prioritise BUY signals and skip SELL setups; in a Bearish read, the reverse. Neutral means no clear edge: reduce size or wait for clarity.
  • Session - Sydney, Asia, London, New York or Off Session. Asia tends to range, London initiates trends, New York continues them or reverses late. The session is already factored into the scoring.
  • Context - the current phase, and the TrendLine Mode to switch to. When it changes, update TrendLine immediately.
  • Next Context - the strongest mode that is not currently active. Treat it as preparation, not a prediction: wait for Context to actually change before switching TrendLine.
  • Trading TF / Sensitivity / Stability / Follow Trend - the execution profile for the current phase. Apply these to TrendLine rather than using generic defaults. Follow Trend reads ON in Mode 1 and Mode 2, and OFF in Mode 3 and Mode 4.
  • Avoid - the risk filter, and the single most valuable line on the dashboard. If an Avoid warning applies to where price is right now, skip the TrendLine signal or cut your size.

On the chart, whenever a range regime is live the active range high and low are plotted - red above, green below. Near the lower boundary in Mode 4, look for a BUY from TrendLine; near the upper boundary, look for a SELL. In the middle, there is no directional edge and the Avoid warning will usually be showing. A confirmed close outside a boundary signals a structure shift - watch Next Context rather than fading the break.

The working sequence, every session:

  1. Add Context and set the Trading Timeframe to your execution timeframe.
  2. Read the whole dashboard - Bias, Session, Context.
  3. Check the Avoid warning before touching anything else.
  4. Apply the recommended Mode, Sensitivity, Stability and Follow Trend to TrendLine.
  5. Check the bias strength reading and where price sits between the boundaries.
  6. Wait for a TrendLine signal that agrees with the Context bias.
  7. Let TrendLine manage the trade, and reassess if Context changes mid-position.

Set the Trading Timeframe input to the timeframe you actually execute on. Context derives the higher context timeframe from it automatically (M1 → M15, M5 → H1, M15 → H4, H1 → D1) and reads the mode from a closed bar on that timeframe, so the displayed reading does not repaint.

What Context TDV does not do

Context does not generate entry signals. There is no arrow, no alert that tells you to BUY or SELL. It is a decision layer, not a standalone strategy. If you are looking for a complete signal generator, you need TrendLine alongside Context - or a different tool entirely.

Context cannot remove risk from a trade. It reads structure and volatility to classify the phase, but it does not predict the next bar. A Bullish bias in Mode 2 can reverse into Mode 3 if momentum breaks, and a range in Mode 4 can break out without warning. The Avoid filter reduces poor entries; it does not eliminate losing trades.

The bias strength percentage shows how strong the current structure is, not when to enter. A high reading is never an entry on its own - always wait for the TrendLine signal.

Context is built for intraday timeframes - M1, M5, M15, H1 - where a higher-timeframe read adds value. On daily or weekly charts, the higher context timeframe becomes less relevant, and the tool's design assumes you are executing intraday.

Who should use Context TDV

Context is built for traders who already know how to enter, but keep entering in the wrong weather:

  • ZynAlgo TrendLine users who want their Mode and settings chosen by market structure instead of guesswork
  • Intraday traders on M1, M5, M15 or H1 who want a stable higher-timeframe read without opening a second chart
  • Discretionary and semi-systematic traders with a working entry method that underperforms in the wrong phase
  • Traders who work across Asia, London and New York and want session behaviour built into the read
  • Any TradingView symbol - forex, gold, indices, crypto and commodities; the logic is pure price structure

It is not the right tool if what you want is a standalone buy and sell signal generator.

How Context pairs with other tools

Context is designed to work with Trendline v4.2 TDV. TrendLine generates the signals; Context tells you which mode to run and when to step aside. The two tools are built as a pair, and using Context without TrendLine means you have a phase classifier with no execution layer.

If you trade support and resistance zones, S&R Pro TDV can add context around key levels - Context tells you the phase, S&R Pro shows where the boundaries are, and TrendLine delivers the entry when price reaches a zone in the right phase.

Trading involves risk

Trading in any market involves substantial risk of loss. Context TDV is a technical analysis tool, not investment advice. Past structure and volatility readings do not predict future price movement. No indicator can eliminate risk or guarantee profitable trades. Only trade with capital you can afford to lose, and consider seeking advice from a licensed financial professional before making trading decisions.

Ready to stop forcing the wrong setup in the wrong phase?

The market only offers a few kinds of opportunity at any one time. Knowing which one is actually on the table is what stops you forcing the other three. Explore Context TDV on the ZynAlgo Marketplace.

Ready to get started?

Context TDV

Pick a plan on the product page and it lands in your library right after checkout.

TradingView Indicator

Context TDV

(1)
$44.10 with crypto — save $4.90
$49View

We use cookies to run the store, measure how it is used and improve our ads. Analytics and marketing cookies are on by default — choose Manage to turn them off. See our Privacy Policy and Terms.