Fibrelay OTE Fibonacci
- 지표
-
Markus Hentschel
I build tools for MetaTrader 5: market structure, volume profile, liquidity, sessions, risk and trade management. Most of them have a free version.
I trade with my own Expert Advisors and build the tools I need myself. Questions about MQL5 or my tools are welcome - just send me a message. - 버전: 1.0
- 활성화: 5
Every impulse. Its OTE zone. No hand-drawn Fibonacci.
Fibrelay OTE Fibonacci reads the swing structure of your chart and, after every break of structure (BOS) or change of character (CHoCH), draws the Fibonacci of the impulse wave that caused it: premium and discount with the 50 % line, the OTE zone (optimal trade entry, 61.8 - 78.6 % by default) and two extension targets (-27 % and -62 %). Each zone carries a status - fresh, touched or violated - so you see at a glance what price has already done there. A calm panel shows the direction, the last wave, the distance to the OTE and the direction of H1, H4 and D1.
It is an analysis tool. It does not open trades and it does not give buy or sell signals.
What You See On The Chart
- The impulse wave as a dashed line from its start (100 %) to its extreme (0 %).
- BOS / CHoCH: the broken swing level with a small label. CHoCH is drawn dashed.
- Premium (upper half) and discount (lower half) as soft shading, with the 50 % line and its price.
- OTE zone as a gold box with both edges, an optional middle line (70.5 %) and the status in the label: "OTE · fresh", "OTE · touched", "OTE · violated".
- Extension targets -27 % and -62 % (both adjustable). A reached target gets a tick.
- Up to 10 earlier waves, drawn faded, so you can see how the last zones worked out.
- All labels sit at the right end of the levels, with price, and avoid each other and the panel.
How It Is Defined
Swing point: a candle whose high (low) is higher (lower) than the N candles before it and not exceeded by the N candles after it (N = swing strength, 5 by default). It is confirmed when those N candles have closed.
BOS / CHoCH: a candle CLOSES beyond the last confirmed swing high or low. In the direction of the current structure it is a BOS, against it a CHoCH. After a break, the start of the impulse becomes the swing to watch on the other side.
Impulse wave: 100 % is the lowest low (bullish) or highest high (bearish) between the broken swing and the break candle. 0 % is the extreme of the move. The 0 % point follows new extremes until price first retraces to the 50 % line; from that candle on the whole Fibonacci is fixed and does not move again.
Zone status: fresh = no closed candle has traded into the zone; touched = a closed candle reached it; violated = a candle closed beyond its far edge (OTE: beyond 78.6 %; discount / premium: beyond 100 %, which also ends the wave as invalid).
Targets: -27 % and -62 % of the wave measured beyond 0 %, checked once the Fibonacci is fixed.
A new BOS or CHoCH starts the next wave; the previous one is kept faded (setting "Earlier waves drawn").
Panel
- Direction: bullish / bearish, last BOS or CHoCH with price and candles ago.
- Last wave: start and end price, size in points and in ATR, state (extending / fixed / ended / invalid) and the current retracement in %.
- OTE: price range, status chip, distance from the price to the OTE in points and in ATR, or "price is inside the OTE".
- Premium / discount: where the price is now, the 50 % price and the status of the discount (bullish wave) or premium (bearish wave) zone.
- Extension targets with prices and ticks.
- Higher timeframes: direction of H1, H4 and D1 from the same swing logic on closed candles, with "OTE" when the price is inside the active OTE of that timeframe.
- Switch bar: Fib, OTE, 50 %, targets and history on / off with one click. Drag the panel, collapse it, size 90 - 150 %, automatic DPI scaling. Dark and light colours follow your chart. English / German.
Alerts
Popup, sound, push and e-mail when price enters the OTE zone (on by default), and optionally on a new BOS / CHoCH and on a reached target. Each alert fires once per wave, on a closed candle.
No Repainting On Closed Candles
Every candle is processed once, in time order, after it has closed. Swing points appear N candles after the swing and are never moved. The only thing that moves is the 0 % point of the running wave while price makes new extremes and has not yet reached 50 % - this is stated in the label ("extending"). After that, only the status of a zone changes.
Checked before release: a replay self test on 8 symbol / timeframe combinations (EURUSD M15, H1, H4, XAUUSD M15, H1, GBPUSD H4, USDJPY H1, GBPJPY H1; 1,600 closed candles each). History cut at 20 points against the full history: 0 differences in the state and in every event. Every one of the 616 waves recounted by brute force from the raw candles (swing, break close, 100 % and 0 % point, the candle that fixed the Fibonacci, OTE touched / violated, target, invalid): 0 deviations. Strategy Tester runs like the Market check (M1 to D1, Pro and One): no errors.
Quick Start
1. Attach Fibrelay OTE Fibonacci to any chart from M1 to D1. The defaults work on forex, metals, indices and crypto.
2. More or fewer waves: swing strength 3 gives more, smaller waves; 8 - 10 gives fewer, larger ones.
3. Your OTE: set start and end in % (for example 62 / 79 or 70.5 / 79).
4. Switch on the alerts you need. Push needs the MetaQuotes ID in the terminal settings.
Good To Know (honest limits)
- An analysis tool, not a signal service. A Fibonacci zone describes where price retraced in the past; it does not predict a reaction. No result is promised. Trading leveraged products carries a high risk of loss.
- A swing is confirmed N candles late, so a BOS cannot be shown before that.
- The multi-timeframe row needs history of H1, H4 and D1; while it loads it shows "loading".
- No DLL, no web requests, no files. 1,500 candles by default, only new closed candles are calculated.
Input Parameters
General: language, bars to analyse (1500), colour theme, label font size (8), zone opacity (60 %). Structure: swing strength (5), mark BOS / CHoCH, impulse wave line. Fibonacci: OTE start (61.8) and end (78.6), OTE middle line, premium / discount shading, extension targets on / off, target 1 (27) and target 2 (62), earlier waves drawn (2). Panel: on / off, position X / Y, size, DPI scaling, multi-timeframe row. Alerts: OTE entry, BOS / CHoCH, target, popup, sound, sound file, push, e-mail. Colours: bullish, bearish, OTE, levels, targets.

