We use cookies to understand how the site is used and improve it. We only load analytics after you accept. Privacy Policy
Multi-timeframe market-structure mapper for confirmed pivots, BOS, CHoCH, strong/weak levels, and equilibrium.
Published by AlgoNexta, who builds and documents these tools so you can inspect the logic before using it. About AlgoNexta · Trading Scripts · AlgoNexta Research
One-time payment through Stripe. You get the full source (Pine Script and the other platform versions listed on this page) to use on your own charts.
Photon.AlgoNexta is an overlay indicator that maps market structure across three requested timeframes. It identifies ATR-qualified swing highs and lows, shorter-term internal highs and lows, close-confirmed Breaks of Structure (BOS), and wick-based Changes of Character (CHoCH). The default Photon Profile is `ClassicPhoton`, which uses a `240` higher timeframe (HTF), `15` middle timeframe (MTF), and `1` entry timeframe (LTF). These are data-request timeframes, not a requirement that the chart itself be set to one of them. The `GoldResearch` profile instead uses `60`, `5`, and `1`; `Custom` enables Higher Timeframe, Middle Timeframe, and Entry Timeframe inputs.
01 · When swing structure is mapped
On each requested timeframe, the script waits for a confirmed `ta.pivothigh` or `ta.pivotlow` using **Swing Pivot Strength** `3`. The pivot is retained only when its movement versus the opposing extreme is at least ATR(14) × **Swing ATR Multiplier** `1.0`; therefore, a pivot label is delayed by the right-side pivot bars and may not appear in a quiet range.
02 · How BOS and CHoCH are distinguished
A BOS requires the **close** to move beyond the current swing level plus or minus **BOS Buffer Pips** × **Pip Size**; defaults are `0.0` and `0.1`. A CHoCH instead requires an existing opposite internal direction and a wick break of the relevant internal high or low, with both event types evaluated only after bar close.
03 · What the chart and alerts show
The overlay prints event labels only for enabled timeframes and categories, while the dashboard summarizes HTF and MTF state. Bullish BOS labels are lime, bearish BOS labels are red, CHoCH labels are purple, swing labels are blue, and optional internal labels are gray; the script caps retained labels at **Maximum Event Labels** `250` by default.
This script's logic could not be confidently reconstructed into an automated reference backtest, so no performance figures are shown rather than estimated ones.
Verify it in TradingView's Strategy Tester (or the equivalent tool for tradingview) before relying on it.
Vision Grade requires a reference backtest with enough reconstructed entries to measure — not available for this script yet.
Published by AlgoNexta, an evidence-first platform for building, reviewing, and documenting algorithmic trading tools. This page explains the script's actual logic and intended use; it does not promise profitability or replace verification in TradingView.
Photon.AlgoNexta is an overlay indicator that maps market structure across three requested timeframes. It identifies ATR-qualified swing highs and lows, shorter-term internal highs and lows, close-confirmed Breaks of Structure (BOS), and wick-based Changes of Character (CHoCH).
The default Photon Profile is ClassicPhoton, which uses a 240 higher timeframe (HTF), 15 middle timeframe (MTF), and 1 entry timeframe (LTF). These are data-request timeframes, not a requirement that the chart itself be set to one of them. The GoldResearch profile instead uses 60, 5, and 1; Custom enables Higher Timeframe, Middle Timeframe, and Entry Timeframe inputs.
3 by default), so a candidate high or low must have three bars on each side before it is confirmed. This means the pivot is necessarily recognized after the pivot-origin bar.14, Swing ATR Multiplier is 1.0, and Minimum Swing Bars is 3.0.35), subject to Minimum Internal Bars (1).0.0; its price offset is calculated as that value × Pip Size, which defaults to 0.1.A chart with no confirmed, ATR-qualified pivot has no active swing level to break, so it cannot produce a BOS. Likewise, CHoCH cannot appear until internal direction has first been established by an internal-level break.
HTF, MTF, or LTF.SH and SL labels mark qualified swing highs and lows.IH and IL labels are optional and disabled by default.Use the display toggles to control Show HTF Events, Show MTF Events, Show LTF Events, pivots, internal points, BOS, CHoCH, levels, equilibrium, and dashboard. Maximum Event Labels defaults to 250; when exceeded, the script deletes the oldest plotted event labels.
The indicator provides four alert conditions: bullish BOS, bearish BOS, bullish CHoCH, and bearish CHoCH. Enable BOS Alerts and Enable CHoCH Alerts both default to enabled. Alerts are based on newly detected events from the timeframes currently enabled for display; disabling a timeframe’s event display also prevents that timeframe from contributing to these aggregate alert conditions.
The default profile is explicitly arranged as 240-minute, 15-minute, and 1-minute structure. The configurable Pip Size tooltip notes that many XAUUSD feeds use 0.1, but the script can be applied to other instruments if the pip-size convention and requested timeframes are adjusted appropriately.
strategy.entry, place orders, calculate position size, or create stop-loss/take-profit logic.lookahead_off, and event logic requires confirmed bars. This reduces intrabar and future-data behavior, but multi-timeframe events can only become available once their requested timeframe data is confirmed and delivered to the chart.The source is included with the one-time purchase ($22). The chart, signals and documentation on this page stay open to everyone.
It maps ATR-qualified swing pivots and internal pivots across HTF, MTF, and LTF requests, then marks close-confirmed BOS and wick-based CHoCH events. It also derives strong/weak reference levels, equilibrium, direction, phase, and expected-flow states.
Swing pivots require right-side confirmation, so they are identified after the pivot-origin bar rather than at that bar in real time. The script uses confirmed bars and `lookahead_off` for higher-timeframe requests; however, multi-timeframe events remain dependent on completion of their requested timeframe.
No. It is an overlay indicator only and contains no strategy entries, exits, position sizing, SL/TP, or performance simulation.
With Photon Profile set to `ClassicPhoton`, the script requests 240-minute HTF, 15-minute MTF, and 1-minute LTF data. `GoldResearch` uses 60, 5, and 1 minutes, while `Custom` uses the three timeframe inputs.
BOS alerts require a newly detected bullish or bearish BOS from a displayed timeframe, while CHoCH alerts require a newly detected directional CHoCH. Both alert toggles default to enabled, and alert conditions are evaluated on confirmed bars.
No. It is not financial advice and the script makes no live-performance claim. TradingView Strategy Tester is not applicable to this indicator because it does not place strategy orders; use your own historical review, paper trading, and live results as the source of truth.
Describe the change in plain English and AlgoNexta rebuilds it as a fresh Pine v6 script — with its own explanation, evidence, and walkthrough.
Buy this script to build your own version of it, or describe a new idea in the Studio.
Educational content only — not financial advice. TradingView is the source of truth for live data, compilation, and Strategy Tester results.