All indicators

Trending Market Toolkit

By LuxAlgoFeb 19, 2025

Trending Market Toolkit is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Trending Market Toolkit assembles complete entry models out of trending structure. It detects market reversals and broken trendlines, draws the reversal area that acts as the trade trigger, and frames each opportunity with its risk and reward zones already mapped. Detection keys off the prevailing trend regime, a strong fit for discretionary traders who want every setup framed the same way.

How to Trade the Trending Market Toolkit?

  • Choose a detection mode: Trend only, Reversal only, or Both. In Both, reversals take priority over trends, yielding more precise signals.
  • Trade from the reversal area: the highlighted zone acts as the trigger for potential trades.
  • Respect the risk/reward readout: every model plots its risk and reward areas; detections below your minimum ratio can be filtered out.
  • Scale detection up: read structures from the chart timeframe or a higher one. A 5m chart can trade 30m or 1H structure.

Swing detection underpins all of it: the toolkit confirms swing structure with one lookback and finer internal swings with another, keeping signal granularity in your hands.

Trending Market Toolkit Settings

  • Show (default Both): filter detections to Trends, Reversals, or Both.
  • Swing Length: candles needed to confirm swing highs and lows; larger values detect broader swings.
  • Custom Timeframe: chart timeframe or a custom higher one for detection.
  • Reversal Area Threshold: grows or shrinks the reversal areas.
  • Trade Trigger Length: candles confirming internal swing points; keep it at or below Swing Length.
  • Extension: the default target (0) or extended 0.27 / 0.618 projections.
  • Risk to Reward Threshold: the minimum ratio a detection must clear; zero lets everything through.
  • High Risk to Reward (on by default): places the stop just beyond the trigger area instead of beyond the swing extreme, for a tighter stop and a higher risk-to-reward ratio.

Frequently Asked Questions

Free to use

Run it on Vela. Go further with a paid plan.

  • Up to 500 Custom Alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans

Also works on

TradingView
Original indicatorBuilt in-house by LuxAlgo

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.