All indicators

HTF-level Proximity Filters

By LuxAlgoMay 16, 2026

HTF-level Proximity Filters is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Static chart image

HTF-level Proximity Filters turns the HTF-level proximity filter idea into a running gate on the chart. It maintains a fourteen-level inventory (prior day, week and month high, low and close, plus a floor pivot ladder) measures the distance to the nearest reference on each side, in ATR multiples or as a percent of price, and resolves long and short gates every bar. Clearance mode (the default) blocks a long while a level sits within the threshold overhead; proximity mode passes only signals firing at a level. The nearest levels plot with a proximity glow.

How to Trade the HTF-level Proximity Filters?

  • Long: Blocked: a level sits inside the threshold overhead. Clearance mode discards longs launched straight into the obstacle.
  • Near-level state: price is at a reference. Confluence for proximity-mode entries, caution for signals aimed into the level.
  • Above / Below rows: the nearest reference each side doubles as the first-target candidate in a trade's path.

The gates never generate signals; this is the filter stage of the composition toolkit, adjudicating locations for signals produced elsewhere.

HTF-level Proximity Filters Settings

  • Filter Mode (default Require Clearance): veto near-obstacle signals, or require firing at a level.
  • Proximity Threshold (default 0.25): the distance that counts as at a level, in the active unit.
  • Distance Units (default ATR Multiples): or % of Price.
  • ATR Basis (default Daily) with Length (default 14): the prior day's ATR as the yardstick; the chart ATR above daily.
  • Level inventory: prior day, week and month high/low/close all enabled by default; Floor Pivots (default enabled) from the D timeframe.
  • Untested Levels Only (default disabled): drop references already traded through until their period rolls.
  • Dashboard & style: gate panel on, level labels on, near-level background off.

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
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.