We use cookies to understand how the site is used and improve it. We only load analytics after you accept. Privacy Policy
M5 multi-timeframe lattice indicator using confirmed H1 and M15 states to time retest-based M5 signals.
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.
Quantum.AlgoNexta is an overlay indicator built exclusively for a standard 5-minute chart. It builds price “lattice” boundaries from the standard deviation of price changes on confirmed H1 and M15 bars, then watches M15 interactions with a frozen Core boundary. A finalized M15 event can arm an M5 retest-and-close confirmation signal. The script does not place orders: `LONG` and `SHORT` triangles are plotted signals, and its alert conditions fire only when those signals occur on a confirmed M5 bar.
01 · When an M15 boundary event starts
After sigma warm-up, each newly confirmed M15 bar is assigned a Core state from the epoch anchor and `Core K = 2.5` times M15 sigma. The script starts an event when the M15 range crosses the nearest upper or lower Core boundary, subject to the cooldown and optional one-event-per-boundary filter.
02 · How the M15 outcome is confirmed
An active event is resolved as a QJ when closes extend beyond the boundary buffer for `Jump Confirm Bars = 1`; it can instead become QF after returning across the boundary without touching the next boundary, QR after a qualifying reflection, or expire at `Max M15 Event Bars = 8`. The event stores the H1 regime alignment at the interaction, but alignment is displayed and counted rather than used as an entry filter.
03 · When an M5 entry signal appears
Any finalized non-expired event arms its frozen Core boundary. On a confirmed M5 bar within `Execution Timeout Bars = 6`, the range must revisit that boundary within `Retest Tolerance Fraction = 0.15`, the close must be on the event direction’s side, and the candle body must not exceed `Max Entry Bar Sigma = 2.0` times M5 sigma; only then does the indicator plot a LONG or SHORT triangle.
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.
Quantum.AlgoNexta is an overlay indicator built exclusively for a standard 5-minute chart. It builds price “lattice” boundaries from the standard deviation of price changes on confirmed H1 and M15 bars, then watches M15 interactions with a frozen Core boundary. A finalized M15 event can arm an M5 retest-and-close confirmation signal.
The script does not place orders: LONG and SHORT triangles are plotted signals, and its alert conditions fire only when those signals occur on a confirmed M5 bar.
The default lattice widths are Fast K = 2.0, Core K = 2.5, and Macro K = 3.0. Their volatility units come from H1 Sigma Period = 24, M15 Sigma Period = 48, and M5 Sigma Period = 72, each calculated as the standard deviation of close-to-close changes.
It remains in warm-up until all three sigma series exist and are above zero. The lattice is rebased when volatility changes by at least Volatility Rebase Ratio = 1.50, a Macro state exceeds Max Macro Orbital = 6, or—if enabled—an epoch reaches Max Epoch Bars.
Min H1 Persistence = 2. A flat net Core path with at least Reflection Alternations = 2 is classified as Reflection.Jump Buffer Fraction = 0.10, Jump Confirm Bars = 1, Reflection Depth Fraction = 0.25, Reflection Max Bars = 4, and Max M15 Event Bars = 8.Execution Timeout Bars = 6, price must visit that boundary within Retest Tolerance Fraction = 0.15, close back on the event direction’s side, and have an M5 candle body no larger than Max Entry Bar Sigma = 2.0 times M5 sigma.A boundary touch alone is not an entry. For example, after an event, no triangle appears if price never revisits the frozen boundary, closes on the wrong side, the entry bar exceeds the sigma-size filter, or the six-bar execution window expires.
Show Core Boundaries is enabled by default.Show Fast Boundaries (default off).Show Macro Boundaries (default off).Approach Fraction = 0.20 of a Core boundary. It requires both Show Approach Markers and Signal Density = All.LONG / red SHORT triangles: confirmed M5 plotted signals. These are not broker orders.Signal Density defaults to Events + Entries; choose Entries only to hide event labels, or All to also permit approach markers. Show M15 Event Labels, Show M5 Entry Signals, and Show Dashboard are enabled by default.
The dashboard reports warm-up status, H1 regime and persistence, M15 epoch/state, active-event and armed-execution status, event/entry counts, alignment counts, and an internal target-first statistic. That statistic is a research counter, not a TradingView Strategy Tester result: it evaluates a one-Core-delta projection against a one-Core-delta invalidation after a plotted signal, and treats same-bar target/invalidation touches conservatively as failures because intrabar order is unknown.
The source enforces a standard 5-minute chart and throws a runtime error on every other chart timeframe. It requests the chart symbol’s confirmed 15-minute and 60-minute data, so it is designed for symbols that have usable M5, M15, and H1 history. No specific asset class or ticker is hard-coded.
Create TradingView alerts from ANQ MTF Long or ANQ MTF Short; family-specific alerts are also available for QJ, QR, and QF long/short signals. Signals require barstate.isconfirmed, so they are generated after the M5 candle closes.
[1]) with lookahead_off; those higher-timeframe decision values do not change once received.Event Cooldown (M15 bars) = 2 or One Event Per Boundary / Epoch = true; the latter prevents repeated processing of the same directional boundary in one M15 epoch.The source is included with the one-time purchase ($22). The chart, signals and documentation on this page stay open to everyone.
It detects confirmed M15 interactions with volatility-scaled Core lattice boundaries, classifies them as QJ, QR, QF, or expired, then optionally plots an M5 retest-and-close signal.
Use a standard 5-minute chart only. The script explicitly stops with a runtime error on other chart timeframes and reads confirmed 15-minute and 60-minute data for the same symbol.
Its H1 and M15 decision inputs use the previous closed higher-timeframe bar with `lookahead_off`, and entry signals require a confirmed M5 bar. Current lattice display levels can still move with M5 price inside an already frozen M15 epoch, so users should distinguish a live level from a completed-bar signal.
No. It is an indicator, not a strategy: it plots triangles and alert conditions but contains no `strategy.entry` or broker-order logic. Its target/invalidation values are used only for an internal research evaluator.
Use TradingView alerts based on `ANQ MTF Long` or `ANQ MTF Short`, or select the QJ, QR, or QF family-specific alert conditions. An alert can occur only after an M15 event arms execution and an M5 retest, directional close, and entry-bar sigma filter all pass.
No. They are internal historical research counters with a conservative same-candle assumption, not Strategy Tester or live-trading results. This is not financial advice; TradingView Strategy Tester, or an equivalent execution-aware platform, is the source of truth for historical and live-result evaluation.
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.