Object-Oriented Random Entry Expert Advisor for MT5
Info
The Object-Oriented Random Entry Expert Advisor for MT5 is a Expert Advisor for MetaTrader 5 that this expert advisor is an object-oriented mql5 version of the trading gurus mql4 random entry expert advisor. This Expert Advisor is best used on the one minute timeframe.
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 Object-Oriented Random Entry Expert Advisor for MT5
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
This Expert Advisor is an object-oriented MQL5 version of the Trading Gurus MQL4 random entry Expert Advisor.
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: New Random - another powerful expert for MetaTrader 5 traders.
This Expert Advisor is an object-oriented MQL5 version of the Trading Gurus MQL4 random entry Expert Advisor. This Expert Advisor is best used on the one minute timeframe. Try it on any and all currency pairs. It uses a random number generator to decide on the direction of each trade. It stays in the market 100% of the time. It provides an example of a minimal Expert Advisor programmed in an object-oriented style, based on a framework designed to facilitate the creation of more complex robots. It also provides a basis for quantifying the value added by alternative, more complex, methods of entry. It can be surprisingly profitable! Input settings: Magic - Magic number. Default = 12345 Slippage - Acceptable slippage on a market order. Default = 30 ProfitTarget - Fixed profit target. Default = 1000 StopLoss - Fixed stop-loss. Default = 3000 Lots - Fixed trade size. Default = 0.1 ReallyRandom - If true, then every backtest run should see a different sequence of simulated coin tosses. If false, every backtest run should see exactly the same sequence of simulated coin tosses. Default = true The pip based settings should each be divided by 10 if your broker only quotes to 4 decimal places. Strategy Tester Report MetaQuotes-Demo (Build 305) Settings Expert: GurooEx01 Symbol: EURUSD Period: M1 (2026.01.03 - 2026.0Also recommended: At random - similar expert with strong performance on MetaTrader 5.
8.10) Inputs: Magic=12345 Slippage=30 ProfitTarget=1000 StopLoss=3000 Lots=0.100000 ReallyRandom=true Broker: MetaQuotes Software Corp. Currency: USD Initial Deposit: 3 000.00 Results Bars: 219207 Ticks: 868201 Total Net Profit: 1 586.38 Gross Profit: 4 565.56 Gross Loss: -2 979.18 Profit Factor: 1.53 Expected Payoff: 28.33 Recovery Factor: 2.07 Sharpe Ratio: 0.18 Balance Drawdown: Balance Drawdown Absolute: 566.12 Balance Drawdown Maximal: 663.72 (21.43%) Balance Drawdown Relative: 21.43% (663.72) Equity Drawdown: Equity Drawdown Absolute: 650.60 Equity Drawdown Maximal: 767.30 (24.62%) Equity Drawdown Relative: 24.62% (767.30) Total Trades: 56 Short Trades (won %): 22 (90.91%) Long Trades (won %): 34 (76.47%) Total Deals: 112 Profit Trades (% of total): 46 (82.14%) Loss Trades (% of total): 10 (17.86%) Largest profit trade: 105.64 Largest Loss Trades (% of total): -303.15 Average profit trade: 99.25 Average Loss Trades (% of total): -297.92 Maximum consecutive wins ($): 9 (903.33) Maximum consecutive losses ($): 2 (-599.78) Maximal consecutive profit (count): 903.33 (9) Maximal consecutive loss (count): -599.78 (2) Average consecutive wins: 5 Average consecutive losses: 1 Recommendations: For some theoretical background see this thread on the Trading Gurus Community Wealth Warning! This expert is for educational purposes only. It should NEVER be used on a live account. Past performance is in no way indicative of future results!You may also like: At random Full - excellent alternative for expert users on MetaTrader 5.
⚠ 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.