YazanPro Auto Levels and Fibonacci
- Indicators
-
Yazan Adnan Ramadan Ibrahim
Algorithmic trader and MQL5 developer based in Jordan. I build Expert Advisors for MetaTrader 5 focused on gold (XAUUSD) and major FX pairs: multi-module confluence systems, short-hold scalping tools and manual trade panels. Each product is tested in the Strategy Tester on real ticks with - Version: 1.2
- Updated: 2 November 2026
- Activations: 10
YazanPro Auto Levels and Fibonacci is a MetaTrader 5 indicator that draws support / resistance zones, breakout arrows, trendlines, pivots, round numbers and an auto Fibonacci on the chart, and shows on a panel how far the price is from each of them.
It draws the price levels most traders mark by hand, keeps them up to date on every closed bar and tells you on a panel where price is right now against them. It works on any symbol (forex, metals, indices, stocks, crypto) and on any timeframe from M1 to MN1. It places no orders.
What you see (the numbers match the badges in the screenshots; each chart layer has an input and a one-click button on the panel)
- Support / resistance zones. Swing highs and lows (2 bars on each side by default, the fractal rule) that sit closer than half an ATR are merged into one zone. Its strength is its number of touches: the swing points inside it. The 6 strongest zones are drawn, plus the nearest zone above the price, the nearest below it and the one price is inside. Each zone is a shaded band with its touch count and centre price, green below the price and red above it.
- Breakout arrows. An arrow marks the first close through the last confirmed fractal high or low, with an optional RSI(14) / CCI(14) filter. Each arrow is decided when its bar closes and is not moved or removed afterwards. The arrows are also in buffers 0 and 1 (Data Window, iCustom).
- Auto trendlines through the latest swing highs and lows, with their touch counts. A broken line turns dotted and faint.
- Daily and weekly classic pivots: P, R1 to R3 and S1 to S3 of the previous day and of the previous week, drawn from the start of the current day or week on every timeframe below D1 (daily) and W1 (weekly). The tables show them on every timeframe.
- Round numbers. The step comes from the price and the ATR (for example 0.005 on EURUSD, 1.0 on USDJPY, 20 on gold H1), or you set a fixed step.
- Auto Fibonacci on the last confirmed swing leg: 38.2, 50, 61.8 and 78.6 retracements, 127.2 and 161.8 extensions, the 50-61.8 zone shaded. Once a closed bar trades through the 78.6 level the setup is marked DEAD and drawn faint until a new leg forms.
- Two large tiles. NEAREST SUPPORT and NEAREST RESISTANCE: the zone centre in large type, its touches, its range, and the distance from the price in pips (points on indices, stocks and crypto) and in ATR.
- PRICE NOW. The zone price is inside (or "between zones"), the Fibonacci status in one word with the retracement % (WAITING, IN ZONE, DEEP, PAST 78.6 or DEAD), and the last breakout arrow with how many bars ago it fired.
- Layer buttons. Zones, Arrows, Trend, Daily, Weekly, Round, Fib: one click shows or hides that layer on the chart.
- Tabs. Levels: every level of the layers that are on, the 6 nearest above and the 6 nearest below the price, each with its price, its distance in pips and in ATR. Fibonacci: the leg (from, to, size in ATR, bar times), the status and a table of all its levels with their distances. Pivots: the daily and weekly table with distances, and the round numbers with their step. Breakouts: the last up and down arrow, the fractal levels the next arrow would break, both trendlines, whether the last closed bar bounced off a level or closed through a trendline, and which alerts are on.
- Header. A language button with 12 languages (English, Arabic, Russian, Chinese, Spanish, Portuguese, Japanese, German, Korean, French, Italian, Turkish), timeframe buttons from M1 to MN1 and a fold button. The language, tab and layers are remembered per chart. Click a section strip to fold it. Rest the mouse on a zone, a line, a tile or a row for an explanation.
How to read it
- Start with the two tiles: the nearest support below and the nearest resistance above, with their touches and their distance. A distance under 1 ATR means the price is less than one average bar range away from the zone centre.
- Read PRICE NOW: is the price inside a zone or between zones, what is the Fibonacci status, and how many bars ago did the last breakout arrow fire.
- On the chart, the label at the right of each zone shows its touches and its centre (for example "x6 1.11631"). The nearest zone above and below the price is shaded stronger than the others.
- The Fibonacci status says where the price is in the last leg: WAITING = it has not reached 50% yet, IN ZONE = between 50 and 61.8, DEEP = between 61.8 and 78.6, PAST 78.6 = beyond 78.6, DEAD = a closed bar traded through 78.6; the Fibonacci stays faint until a new leg forms.
- For exact prices open a tab (Levels, Fibonacci, Pivots, Breakouts), and switch a layer off with its button when the chart gets busy.
- Use what you see as context for your own analysis: the indicator gives no buy or sell advice.
Alerts (popup, optional push notification)
- Price touches one of the drawn zones (once per zone per bar).
- A bar closes through one of the drawn zones.
- Price enters the 50-61.8 Fibonacci zone (once per leg).
- A new breakout arrow (off by default).
Who it is for
Traders who mark support and resistance, trendlines, pivots and Fibonacci retracements by hand and want them drawn the same way on every chart, with the distance to each level in front of them, in their own language.
What it does not do
- It does not give buy or sell advice. A breakout arrow says that a bar closed through a level, nothing about what happens next. The panel says it too: context only, not a trade signal.
- It does not predict prices and makes no claim about how often a zone, a pivot or a Fibonacci level holds.
- It places no orders and changes no trade.
- It does not keep zones or trendlines older than the scanned window (the last 500 closed bars by default) and marks arrows on the last 2000 bars by default.
- It needs history: 41 closed bars for the zones, 120 for the Fibonacci. On a new symbol or on MN1 the panel says "not enough history" until the bars are there.
How it is computed
- ATR is a simple 14-bar average true range on the chart's own timeframe. Every distance in ATR uses it.
- Zone: confirmed swing points (a swing high is higher than the N bars on each side; N = 2 by default) sorted by price and merged while they are within 0.5 x ATR of the lowest one in the zone. Touches = the swing points merged. A zone needs 2 touches to count. The band is the lowest to the highest merged price plus 0.1 ATR on each side; the centre is their mean.
- Breakout arrow: on the close of a bar, the last confirmed fractal high (2 bars on each side, known once the second bar after it closed) is broken when the bar closes above it and the bar before closed at or below it. The same mirrored for a fractal low. With the filter on, an up arrow also needs RSI(14) below 70 and CCI(14) above 50 (down: RSI above 30 and CCI below -50). A level fires once; the next arrow waits for a new fractal. Both oscillators are computed inside the indicator from closes.
- Trendline: the newest swing with 3 bars on each side is the right anchor, the newest older swing with 20 bars on each side is the left anchor. Touches are counted within 0.25 ATR of the line. The line counts as broken once a bar closed through it after the right anchor.
- Pivots: P = (high + low + close) / 3 of the previous day or week; R1 = 2P - low, S1 = 2P - high, R2 / S2 = P +- (high - low), R3 = high + 2 (P - low), S3 = low - 2 (high - P). The broker's D1 and W1 bars are used; when they are not available yet, the previous day or week is rebuilt from the chart's own bars.
- Round numbers: the step is the smallest 1, 2 or 5 x 10^n that is at least 0.4 percent of the price and at least one ATR. Four lines are drawn around the last close.
- Fibonacci: a zigzag on closed bars where a new swing needs a reversal of 3 x ATR (the ATR of the bar that confirms it, so a confirmed pivot never changes later). The last two confirmed pivots make the leg; it must be at least 2 x ATR long, otherwise the panel says "waiting for a bigger one". Retracements are measured from the leg end, extensions from its start. The setup is dead once a closed bar after the leg end trades through the 78.6 level plus 0.2 ATR.
- Distances: pips on forex (10 points on 3 and 5-digit quotes), 0.1 on gold and 0.01 on silver; points (price units) on everything else. The "Points per pip" input overrides this.
- Load: the levels, trendlines, pivots, round numbers and Fibonacci are recomputed once per closed bar. Ticks only move the distances and run the touch and Fibonacci-zone checks. The panel refreshes at most once per second. About 100 chart objects plus at most 500 arrows.
Inputs
Support / resistance zones
- Bars scanned for swing points, zones and trendlines: 500 (100..5000)
- Swing point: bars on each side: 2 (2 = the fractal rule)
- Merge swing points closer than this x ATR into one zone: 0.5
- Touches a zone needs to count: 2 (1..10)
- Strongest zones drawn, plus the nearest above and below: 6 (1..15)
Chart layers
- Support / resistance zones: true
- Breakout arrows (close through the last fractal high / low): true
- Breakout arrows: RSI(14) / CCI(14) filter: true (up: RSI below 70 and CCI above 50; down mirrored)
- Breakout arrows: bars of history marked: 2000 (100..50000)
- Auto trendlines: true
- Daily classic pivots (P, R1-R3, S1-S3): true (drawn on timeframes below D1)
- Weekly classic pivots: true (drawn on timeframes below W1)
- Round numbers: true
- Round number step in price: 0 (0 = automatic)
- Auto Fibonacci on the last confirmed swing leg: true
- Fibonacci: zigzag threshold, x ATR: 3.0 (1..10)
- Fibonacci: minimum leg, x ATR: 2.0 (0.5..20)
Colors
- Support / Resistance / Pivot P / Fibonacci / Round number color: green / red / gold / blue / gray
Panel
- Panel language: English (12 languages, also switchable on the panel)
- Tab shown first: Levels by distance (Levels / Fibonacci / Pivots / Breakouts)
- Panel X / Y, pixels from the top-left corner: 10 / 30
- Points per pip: 0 (0 = automatic)
- Turn the chart shift on: true (room for the level labels right of the last bar)
Alerts
- Alert when price touches one of the drawn zones: true
- Alert when a bar closes through one of the drawn zones: true
- Alert on a new breakout arrow: false
- Alert when price enters the 50-61.8 Fibonacci zone: true
- Also send a push notification: false
Quick start and FAQ
Quick start
- Attach the indicator to any chart and timeframe. It works on forex, metals, indices, stocks and crypto.
- Pick your language with the button at the top right of the panel.
- Read the two tiles: the nearest support and resistance with their distance. Then open the tabs: Levels, Fibonacci, Pivots, Breakouts.
- Click a layer button (Zones, Arrows, Trend, Daily, Weekly, Round, Fib) to show or hide it on the chart.
- Rest the mouse on a zone, a line or a panel row for an explanation.
FAQ
Do the arrows repaint?
An arrow is decided on the close of its bar from a level that was confirmed before, and it is not moved or removed later. After a full chart reload the marked window starts at a different bar, so the oldest arrows in it can differ a little; the recent ones stay where they were.
Do the zones and lines change?
Yes, on each closed bar: a new swing can add a touch to a zone, create a zone or move a trendline anchor. That is what keeps the levels current. The daily and weekly pivots are fixed for the day or week.
Why is there no Fibonacci on my chart?
The last confirmed leg is shorter than the minimum (2 x ATR by default), or the chart has fewer than 120 closed bars. The Fibonacci tab says which. Lower the minimum leg or the zigzag threshold for more legs.
Which timeframes and symbols?
Any timeframe from M1 to MN1, everything computed on the chart's own timeframe. Distances are in pips on forex and metals and in points on indices, stocks and crypto; you can set the points per pip yourself.
Why did the chart shift to the right?
The indicator turns the chart shift on so the level labels fit right of the last bar. Switch the input off to keep your own setting.
Is it a trading system?
No. It shows levels and where price is against them. It gives no buy or sell advice.
Is it heavy for the terminal?
No. The levels are computed once per closed bar in a few milliseconds, and the panel refreshes at most once a second.
Risk warning
Trading carries a high risk of loss. This indicator shows price levels and does not predict prices or guarantee any result. Use it as context for your own analysis, never as a trade signal on its own.
