Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Auto Fibo Extended - indicator for MetaTrader 5

Marian Beceanu
Marian Beceanu
Atlas Enterprise Matrix:
https://www.mql5.com/en/market/product/183575
ZigZag Maturity — Multi-Timeframe Swing Maturity & Reversal Probability Dashboard
Views:
62
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

01 fib02 fib

Auto Fibo Extended – Automatic Fibonacci Retracement & Extension for MT5

Auto Fibo Extended is a MetaTrader 5 indicator designed to automatically identify significant swing highs and swing lows and draw Fibonacci Retracement and Extension levels directly on the chart.

The indicator analyzes historical price data over a user-defined number of candles and automatically determines the two extreme points used to construct the Fibonacci structure.

One of its main features is the ability to display two independent Fibonacci structures simultaneously, calculated from two different timeframes. This allows traders to analyze market movements from both lower and higher timeframe perspectives without manually drawing Fibonacci objects.

Key Features

1. Automatic Fibonacci Detection

The indicator automatically identifies:

  • The highest High within the selected lookback period.

  • The lowest Low within the selected lookback period.

  • The chronological order of these extremes.

  • The appropriate Fibonacci direction.

2. Two Independent Timeframes

You can display two Fibonacci structures simultaneously:

  • Fibonacci 1 – Lower timeframe.

  • Fibonacci 2 – Higher timeframe.

Each structure has independent color settings and can be configured using different timeframes.

3. Automatic Direction Detection

Three direction modes are available:

  • Auto: Determines the direction based on which extreme occurred first.

  • Low to High: Draws Fibonacci from the lowest Low to the highest High.

  • High to Low: Draws Fibonacci from the highest High to the lowest Low.

4. Extended Fibonacci Levels

The indicator includes the following levels:

  • -100.0%

  • -61.8%

  • -38.2%

  • -23.6%

  • 0.0%

  • 23.6%

  • 38.2%

  • 50.0%

  • 61.8%

  • 78.6%

  • 100.0%

  • 127.2%

  • 161.8%

  • 200.0%

  • 261.8%

  • 423.6%

These levels provide a visual framework for analyzing potential support and resistance areas, retracements, and price extension targets.

5. Automatic Price-Level Labels

Each Fibonacci level can be displayed in a colored information box on the right side of the chart.

The labels:

  • Display the Fibonacci percentage.

  • Identify the corresponding timeframe.

  • Automatically follow their price levels.

  • Adjust their positions when the chart is resized, zoomed, or scrolled.

  • Can be customized with different background, text, and border colors.

6. Precise Higher-Timeframe Anchoring

When a higher-timeframe Fibonacci structure is displayed on a lower-timeframe chart, the indicator searches for the exact candle containing the corresponding High or Low.

This improves the visual alignment of Fibonacci anchors with the actual price extremes.

7. Automatic Chart Updates

The indicator uses both timer events and market tick updates to maintain its drawings.

It also avoids unnecessary object modifications when the Fibonacci anchor points have not changed, helping to reduce flickering.

Customization Options

Users can customize:

  • Lookback period (number of analyzed candles).

  • Lower and higher timeframes.

  • Fibonacci direction.

  • Fibonacci line color.

  • Line style and width.

  • Visibility of level labels.

  • Label font size.

  • Label background and text colors.

  • Label border color.

  • Horizontal label positioning.

How to Use

  1. Install the indicator in MetaTrader 5.

  2. Attach Auto Fibo Extended to any chart.

  3. Select the desired lower and higher timeframes.

  4. Configure the lookback period.

  5. Choose automatic or manual Fibonacci direction.

  6. Customize colors, line styles, and level labels.

The indicator automatically calculates and displays the Fibonacci structures.

Important Notes

  • The indicator works with historical price data.

  • The two Fibonacci structures are calculated independently.

  • If both timeframe selections are identical, only one Fibonacci structure is displayed.

  • Either timeframe can be disabled.

  • The indicator does not generate trading signals or execute trades. It is a technical analysis tool designed to assist traders in identifying potential price levels.

Auto Fibo Extended provides an automated and flexible approach to Fibonacci analysis, helping traders visualize market structure and potential retracement and extension zones across multiple timeframes.

Risk Lot Sizing Library - four risk bases, tick-value scaling, margin cap, daily limit Risk Lot Sizing Library - four risk bases, tick-value scaling, margin cap, daily limit

A stop distance in points is not money until the tick size and tick value make it one. This library turns four risk bases into a lot size, floors it to the volume step, caps it against free margin and tracks a daily loss limit. Two MQL5 headers, no DLL.

TradeGuard - Reliable Order Execution: No Duplicates, Safe Retries, Restart Recovery TradeGuard - Reliable Order Execution: No Duplicates, Safe Retries, Restart Recovery

A one-file library that handles how an EA trades: pre-trade checks, normalisation to broker limits, safe retries, one order per signal, isolation by magic number and state recovery after a restart. Lot by risk, daily loss limit and equity floor included. Verified in the Strategy Tester.

Close All Positions Panel Close All Positions Panel

Close all positions panel for MT5: seven buttons to close all, buys, sells, winners, losers, the chart symbol or delete pending orders, on Gold (XAUUSD), forex or any symbol, for manual trades and any EA. Open source code.

MACD Signals MACD Signals

Indicator edition for new platform.