Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Smart Fibonacci

Key Features:

  • Automatically identifies and plots Fibonacci levels using ZigZag-based price cycles.
  • Customizable parameters: timeframe, number of bars, Fibonacci colors, label visibility, and style.
  • Supports multiple Fibonacci levels (e.g., 23.6%, 38.2%, 61.8%, 161.8%, etc.) with user-defined minimum display level.
  • Option to toggle ZigZag visibility and switch between body-to-body or wick-to-wick drawing modes.
  • Lightweight and optimized for real-time chart analysis.

Input Parameters:

  • AF_Period: Timeframe for calculation (default: 0 - current timeframe).
  • AF_NumBars: Number of bars to analyze (default: 200).
  • AF_MinLevelDisplayed: Minimum Fibonacci level to display (default: -5).
  • AF_FiboColor, AF_FiboColor2, ...: Custom colors for Fibonacci lines.
  • AF_DrawBody2Body: Enable/disable body-to-body Fibonacci (default: false).
  • ExtDepth, ExtDeviation, ExtBackstep: ZigZag parameters for fine-tuning.
  • AF_LabelsVisible: Show/hide Fibonacci level labels (default: true). MetaTrader Experts, Indicators, Scripts and Libraries

Usage:
Add the indicator to your chart, adjust parameters to suit your trading style, and use the Fibonacci levels to identify potential support/resistance zones for ABCD or other price action patterns.

Feedback

If you have suggestions or encounter issues, please leave a comment on the MQL5 CodeBase page or contact me through the MQL5 community. Your feedback is valuable for improving this tool!

Happy trading!


62205

Best MetaTrader Indicators + Profitable Expert Advisors