Quote Path Breakout
- Indicatori
-
Kim Seongyu
I approach investing by asking what drives an investment’s return, what could undermine it, and what evidence would change my view. - Versione: 1.0
- Attivazioni: 5
Find the first recorded Bid or Ask that touched a stop or target after a confirmed range breakout. The chart labels the direction and price of the breakout. For the selected signal, the panel gives the entry quote, spread, model levels, first-touch price and broker timestamps down to milliseconds.
The first screenshot follows a gold M1 short from 24 November 2026 at 04:51 broker time. The first Bid was 3638.29 at 04:52:00.234. The stop level was 3640.72. At 04:54:12.834 the Ask was still 3640.68. The next Ask, 3640.93 at 04:54:13.237, crossed the stop with a 9-point spread. To check a short on your own feed, open Symbols in Market Watch, select Ticks and follow Ask from the next bar. Another chart shows a completed window with neither level touched.
Try it in the free MT5 demo
- Open the MT5 Strategy Tester, select Indicators and Quote Path Breakout, and start a visual test on an M1 Bid-based chart. For broker-history comparison, choose Every tick based on real ticks and a date with downloaded quote history.
- Set Start with the fictional two-sided quote example to true, or select Example on the chart. The fictional long setup starts with Bid 101.00 and Ask 101.20. Its stop is 100.20 and its target is 102.70. At 08:15:00.475, Ask reaches 102.80 while Bid is 102.55. The first qualifying Bid is 102.75 at 08:15:00.640. The example runs with no broker quote history.
- Select Market to return to the recorded chart, or Latest to follow new breakouts. Older and Newer pin a signal. Show bar centers the chart on it. Return restores your previous chart position and autoscroll setting. The dot marks the first entry quote. The two short lines at the stop and target belong to the selected market setup. Hover over the dot for its exact timestamp.
- To review a known historical breakout, open Inputs and set Exact signal bar open to the breakout candle’s opening time on your broker’s chart. For the first screenshot the signal bar opened at 04:51, and the entry quote arrived in the next bar. You can select a confirmed signal within the latest 800 completed candles. Enter zero to follow the latest signal again.
How a setup is formed
A completed chart candle must close strictly above the highest high or below the lowest low of the preceding range. The default is 12 completed candles. Wicks, ties and the forming candle produce no signal. Each qualifying completed candle is evaluated separately. The breakout price is its close.
The initial price width is the arithmetic mean of true range over the same preceding candles, including gaps from their previous closes. The stop is one width from the first quote and the default target is 1.5 widths away. Upper levels round up and lower levels round down to the symbol's price precision. The short chart segments display these model levels over at most four chart bars.
How the quote path is read
The replay begins at the open of the next available chart bar. A long uses the first recorded Ask as entry and later checks Bid for both exits. A short uses Bid as entry and checks Ask for both exits. The opening two-sided quote also qualifies if its spread already puts the exit side across the stop. A gap through a level records the observed quote price. The terminal's broker quote updates are the source. A trade fill, commissions, swap, available size and slippage require separate account information.
The spread limit is in symbol points. A nonzero limit rejects a setup when its first spread is too wide. The panel shows the observed spread and the configured limit. A zero limit disables this filter.
Waiting covers an initial quote that has yet to arrive. Watching follows an open observation window. Window ended means the available path passed the gap checks and neither level was touched by the deadline. Conflicting first quotes at one millisecond, a missing quote side, unavailable history or a quiet interval exceeding the gap limit produces Unverified. During an in-progress window, the most recent broker millisecond is held open until a later broker timestamp arrives. Quote history can be incomplete even where the reported gaps are short. Tester results depend on the selected modeling mode and available history.
If the panel reports tick range unavailable on a new terminal, check the interval under Symbols → Ticks. Once the quotes are available, reattach the indicator with the same signal bar time to replay that selection.
Settings and indicator buffers
- Completed bars in range accepts 2 to 200. Target distance accepts 0.1R to 20R.
- Replay minutes accepts 1 to 240 and defaults to 20. Longest acceptable gap accepts 1 to 3,600 seconds and defaults to 60.
- Popup and MT5 push are individually opt-in. A notification identifies the symbol, timeframe, closed signal bar and breakout close. The indicator suppresses startup, history reload and catch-up notifications. Configure your MetaQuotes ID in the terminal before enabling push. Visual examples and tester runs use on-chart feedback.
- For an MT5 indicator handle, buffer 0 returns the long signal close and buffer 1 returns the short signal close. Inactive price cells contain EMPTY_VALUE . Buffer 2 returns +1, -1 or 0. The buffers cover the latest 800 completed chart candles. Older and forming bars have empty price buffers and direction 0. Indicator buffers expose the broker-chart rule, including while the fictional example is displayed.
- The market rule uses charts built from Bid. On a Last-based exchange chart, the panel identifies the chart type limitation and the fictional example remains available.
This is a read-only MT5 indicator. It compares observed quotes and sends optional notifications. Order placement and position management stay with the trader.
