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 Expert Advisor | GDS Renko Dual MA Demo EA | MQL5 Release

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.

Image for GDS Renko Dual MA Demo EA

Image for GDS Renko Dual MA Demo EA

How it works

Unique stair-step trend trading with the Stairsteps Expert Advisor. Innovative approach for consistent results. Learn more.

- Classic fixed-size Renko is built internally from BID ticks.
- Reversals use the classic two-brick rule.
- Fast and Slow SMA values are calculated only from completed Renko closes.
- Fast MA above Slow MA defines a bullish state; Fast MA below Slow MA defines a bearish state.
- A newly completed Renko brick can trigger a trade only when its direction agrees with the MA state and the minimum run requirement.
- A minimum MA separation, measured in bricks, can filter nearly-flat MA states.
- Positions close by virtual TP, virtual SL, opposite MA state, or maximum holding time.
- A Renko cooldown is applied after an exit.
- One position per symbol.
- No external indicators, DLLs, custom symbols or offline Renko charts are required.

Causality
The moving averages are updated only after a Renko brick is completed. Unfinished intra-brick price movement cannot directly generate an entry signal. If one incoming tick completes several Renko bricks, the completed bricks are processed sequentially and only the final signal on that tick may open a new position.

Default inputs
Brick Size = 6.0
Fast MA Period = 9
Slow MA Period = 152
Minimum MA Separation = 4.15 bricks
Entry Run = 2 bricks
Take Profit = 55.0 bricks
Stop Loss = 32.0 bricks
Maximum Hold = 1440 minutes
Cooldown = 16 bricks
Maximum Spread Fraction = 0.35
Requested Lot = 0.01

Example Strategy Tester run
Broker: RoboForex-ECN
Symbol: XAUUSD
Host timeframe: M1
Model: Every tick based on real ticks
Period: 2026-05-01 to 2026-09-08
Initial deposit: 10,000 USD
Leverage: 1:100
History quality: 100% real ticks
Trades: 57
Net result: +1,188.60 USD
Profit Factor: 2.39
Balance drawdown maximal: 158.87 USD (1.58%)
Equity drawdown maximal: 217.20 USD (2.15%)
Winning trades: 64.91%

The parameters above were selected on this historical interval for an educational Strategy Tester demonstration. The result is not evidence of a persistent trading edge, a recommendation, or a promise of future profitability. Results can differ between brokers, symbols and market conditions.

The selected MT5 timeframe is only a host. Renko construction is driven by incoming BID ticks rather than by M1 bars. TP and SL are virtual, so the EA and terminal must remain running for those exits to be managed.

Complement community code with advanced automation from RobotFX.

77232

Best MetaTrader Indicators + Profitable Expert Advisors