FlexGridPro

Introduction

Overview of FlexGridPro, an adaptive grid trading bot for MetaTrader 5.

FlexGridPro

FlexGridPro is an Expert Advisor (EA) for MetaTrader 5. It is an adaptive grid trading bot that opens trades in a grid pattern. The grid step changes dynamically based on market volatility.

[!WARNING] Risk Warning Grid EAs can cause severe drawdown if used incorrectly. This software is intended for research, learning, and testing in a demo account. Do not run it on a live account unless you fully understand the risks.

Features

  • Adaptive Grid: Opens a grid of buy and/or sell trades on one symbol (e.g., XAUUSD, EURUSD) and adjusts the grid step automatically using ATR, Bollinger Bands, or a hybrid of both.
  • Position Management: Closes the whole basket when total profit reaches a target. Manages each position with trailing stop, break-even, and optional partial close.
  • Filters & Safety:
    • Blocks new trades outside specified trading sessions, during high volatility, or near drawdown limits.
    • Optional Smart Lock to protect basket profit once it reaches a level.
    • Optional No-New-Trades Cutoff to stop opening new trades a few minutes before each session ends.
  • Risk Management: Features a daily profit target that pauses the EA for the rest of the day when hit.

Requirements

  • MetaTrader 5 (build 3500 or newer recommended).
  • MetaEditor (comes with MT5) to compile the EA.
  • A broker account that allows hedging (the EA uses dual magic numbers and may hold buy and sell positions at the same time).