Random Trader Pro EA: Advanced Randomized Trading System for MetaTrader 5

A sophisticated Expert Advisor for MetaTrader 5 featuring random entry, advanced risk management, trailing stops, time filters, and more.

Table of Contents

  1. Overview
  2. Key Features
  3. Input Parameters
  4. Installation Guide
  5. Video Walkthrough
  6. Performance Example
  7. Important Disclaimer
  8. Contact & Custom Development
  9. Free Version
Price Buy Now Pay with Crypto
$30 Buy on MQL5 Market Crypto payment button by NOWPayments

Overview

Random Trader Pro EA is an automated trading system for MetaTrader 5 that initiates trades with a randomly chosen buy or sell direction. Despite the random entry, the EA incorporates robust risk management, dynamic position sizing, and sophisticated exit strategies. This unique approach serves as a valuable tool for research, portfolio diversification, and as a foundational template for developing and evaluating risk management techniques within algorithmic trading.

Buy Now on MQL5 Market

Random Trader Pro - Trade Example

Key Features

  • Randomized Trade Entry: Opens trades randomly as either buy or sell for unbiased market engagement.
  • Advanced Risk Management: Calculates position size based on user-defined risk percentage and stop loss distance, with an option for maximum margin utilization.
  • Flexible Stop Loss: Offers a choice between dynamic ATR-based or fixed pip-based stop loss calculation.
  • Take Profit & Reward/Risk: Sets take profit as a multiple of the stop loss, based on the specified reward/risk ratio.
  • Trailing Stop Options: Includes breakeven and step-wise trailing stop functionalities, with an optional partial close at each step.
  • Time & Spread Filters: Allows restriction of trading to specific hours and avoidance of trading during high-spread conditions.
  • Weekend Protection: Provides an option to automatically close all positions before the weekend to mitigate gap risk.
  • Magic Number: Tags all trades with a unique identifier for seamless multi-EA operation and portfolio management.

Input Parameters

Random Trader Pro - Input Parameters

Trade Identification

  • magic_number: Unique identifier for EA trades.

Risk Management

  • risk_percent_per_trade: Percentage of account balance to risk per trade.
  • reward_risk_ratio: Take profit multiple of the stop loss.
  • use_max_margin: Enable to use the maximum allowable lot size based on margin.

Stop Loss Configuration

  • loss: Stop loss calculation method (ATR or PIP).
  • loss_atr: ATR multiplier for stop loss (if loss is ATR).
  • loss_pip: Fixed pip distance for stop loss (if loss is PIP).

Trailing Stop Settings

  • trail_mode: Trailing stop mode (NONE, BREAKEVEN, or STEPWISE).
  • breakeven_distance: Pips to move stop loss to breakeven (if trail_mode is BREAKEVEN).
  • trail_steps: Number of steps for step-wise trailing stop (if trail_mode is STEPWISE).
  • use_partial_close: Enable partial position closure at each trail step.
  • partial_close_percent: Percentage of the position to close at each step.

Trading Time Settings

  • use_time_filter: Enable/disable trading time restrictions.
  • start_hour: Trading session start hour (0-23).
  • start_minute: Trading session start minute (0-59).
  • duration: Trading session duration in hours (can span across midnight).
  • close_at_end_time: Close all positions at the end of the trading session.

Market Condition Filters

  • use_spread_filter: Enable/disable the maximum spread limit.
  • max_spread: Maximum allowable spread (in points) for trade entry.

Weekend Protection

  • close_before_weekend: Enable closing positions before the weekend.
  • friday_close_hour: Hour on Friday to close positions (0-23).
  • friday_close_minute: Minute on Friday to close positions (0-59).

Installation Guide

  1. Purchase via MQL5 Market.
  2. Automatic download & install.
  3. Find in Navigator (Experts > Market).
  4. Drag to chart.
  5. Adjust settings & enable Algo Trading.

Video Walkthrough

Watch a full walkthrough and demonstration of Random Trader Pro EA on YouTube:

Watch on YouTube

Performance Example

Below is a sample backtest equity curve and deposit load for Random Trader Pro EA:

Random Trader Pro - Backtest Equity Curve

Important Disclaimer

This Expert Advisor is intended for research and educational purposes only. Random Trader Pro EA does not guarantee profitability and should not be considered a standalone trading solution for live trading accounts. The inherent randomness of the entry method is not designed for profit generation. Its primary function is to demonstrate and facilitate the testing of risk management, position sizing, and exit strategies. Always test thoroughly on a demo account and fully understand the associated risks before using with real funds.

Contact & Custom Development

For inquiries, suggestions, or requests for custom Expert Advisors or indicators based on this framework, please feel free to contact us.

Free Version

A simpler version of this product is available as a free code:
Random Trader EA (Free Version)