GDS Renko ADX Demo Expert Advisor
Info
The GDS Renko ADX Demo Expert Advisor is a Expert Advisor for MetaTrader 5 that how the example works1. Incoming BID ticks are passed to an internal classic Renko builder with a two-brick reversal rule.
Usage
This tool is typically used for automated trading on major forex pairs and gold.
Platform
This Expert Advisor works exclusively on MetaTrader 5 (both build 600+ and newer versions).
Setup
Place the downloaded file in MQL5/Experts folder via File ? Open Data Folder in MetaTrader 5.
How to Install and Use GDS Renko ADX Demo Expert Advisor
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
What this tool does
How the example works1.
Typical Use Case
This Expert Advisor excels in automated trading and technical analysis on MetaTrader 5.
Compatible Platform & Setup
This Expert Advisor works on MetaTrader 5. Place the file in the MQL5/Experts folder and restart the terminal.
Description & Settings
Related: Automated Live Testing for Expert Advisors on Demo Accounts - another powerful expert for MetaTrader 5 traders.
How the example worksAlso recommended: GDS Renko RSI + MACD 4-Mode EA - similar expert with strong performance on MetaTrader 5.
1. Incoming BID ticks are passed to an internal classic Renko builder with a two-brick reversal rule.
2. ADX, +DI and -DI are updated only after a Renko brick is completed.
3. ADX is used as a strength filter.
4. +DI / -DI define the allowed trade direction.
5. A new trade can be opened only when the newest completed brick confirms the same direction and the required Renko run is present.
6. An opposite DI direction can request an exit. Virtual TP, SL and maximum holding time provide additional exits.
Default demonstration profile
Brick Size: 16
ADX Period: 14
ADX Threshold: 8.5
Minimum DI Separation: 2.5
Entry Run: 3 completed bricks
Take Profit: 9.5 bricks
Stop Loss: 42 bricks
Maximum Hold: 1060 minutes
Cooldown: 6 completed bricks
Maximum Spread / Brick: 0.35
Requested Lot: 0.01
Real-tick verification example
Symbol: XAUUSD
Period: M1
Test interval: 2026-05-01 to 2026-09-08
History quality: 100%
Ticks: 48,458,994
Initial deposit: $10,000
Total trades: 46
Net result: +$1,095.53
Profit factor: 3.14
Maximum equity drawdown: $139.11 / 1.36%
Maximum balance drawdown: $68.70 / 0.64%
Recovery factor: 7.88
Sharpe ratio: 9.22
Profit trades: 31 / 46 (67.39%)
Short trades: 25, 64.00% won
Long trades: 21, 71.43% won
The defaults are included only to make the source code immediately testable. This is a historical educational example, not evidence of a persistent trading edge or future profitability. Results depend on symbol specification, tick history, spread, execution and broker conditions.
Implementation notes
- Completed Renko bricks only are used for ADX/DI calculations and signals.
- No intra-brick entry signal is generated.
- A large incoming tick can complete several bricks; they are processed sequentially and only the newest completed state can produce the final entry signal on that tick.
- Requested volume is normalized to the symbol minimum, maximum and volume step.
- Trading-session checks prevent repeated requests while the market is closed.
- Lendexits remain pending until a valid trading session is available.
- One position is allowed on the symbol and duplicate requests are blocked.
- TP and SL are virtual, so the terminal and EA must remain running.
Golden Delta | Research First
You may also like: GDS Renko Trade Manager for MetaTrader 5 - excellent alternative for expert users on MetaTrader 5.
Source Code
#property copyright "RobotFX"
#property link "https://robotfx.org"
#property version "1.10"
#property strict
#property description "This code is educational. Feel free to use, modify and upgrade as you wish. Visit ROBOTFX.ORG for professional trading tools"
input double InpBrickSize = 16.0;
input int InpADXPeriod = 14;
input double InpADXThreshold = 8.5;
input double InpMinDISeparation = 2.5;
input int InpEntryRunBricks = 3;
.......
⚠ Limitations & Risk Warning
- This tool is provided for educational and testing purposes only.
- Past performance does not guarantee future results.
- Trading involves substantial risk of loss. Use on a demo account first.
- Results may vary depending on market conditions, broker, and settings.
- We recommend thorough backtesting and forward testing before using with real funds.