MT5 Auto Trader for EMA Strategy

Job finished

Execution time 17 days

Specification

1. Introduction

1.1. Purpose

The purpose of this EA is to automate the EMA crossover strategy to achieve consistent trading results in the Forex market. Users will manually input the two EMA periods to allow for testing various combinations and identifying a successful trading system.

1.2. Scope

The EA will operate on major currency pairs, indices, and stocks across multiple timeframes to enable testing of different timeframes.

2. Functional Requirements

2.1. Trading Strategy

Entry Conditions

  • Buy Signal: A buy order is initiated when the slow EMA crosses above the fast EMA.
  • Sell Signal: A sell order is initiated when the slow EMA crosses below the fast EMA.
  • Time Window: Include a time window when entries can be taken. This will allow trades to be initiated only within specific hours of the day.

Exit Conditions

  • Close Buy Position: The buy position is closed when the slow EMA crosses below the fast EMA.
  • Close Sell Position: The sell position is closed when the slow EMA crosses above the fast EMA.
  • Exits Based on Signal: Exits do not depend on the time of day. They can happen only when an exit signal is given.
  • Negative Stop Loss Trailing: Include a negative stop loss trailing until an opposite signal is given. Exit the trade when an opposite signal occurs.

Breakeven Condition

  • Breakeven:

Breakeven will have two conditions that a user will have to set in the settings section. Below are the conditions. All will be tested to have a better setting that is profitable,

  • Condition 1: Include a breakeven condition to be set at the close of the buy or sell candle when 3 consecutive candles close above or below the crossover, depending on whether it is a buy or sell.
  • Condition 2: Include a breakeven condition to be set after a number of pips have been covered.

Stop Loss Placement

  • Stop Loss at Candle Low: Set a stop loss at the low of the candle that provided the signal.
  • Stop Loss Distance: Allow users to specify the distance from the signal candle low to the stop loss in pips.
  • Breakeven at Signal Entry: If the stop loss moves a certain number of pips, set the breakeven to the entry point of the signal.
  • Adjustable Stop Loss: Be able to adjust the stop loss, especially when there is news or other market events that may impact trading conditions.

Order Types

  • Market Orders

2.2. Risk Management

  • Position Sizing: The position size will be 1% of the account balance per trade.
  • Stop Loss: The stop loss is marked as the last point in the buying signal. However, it must meet a certain number of pips. If it moves a certain number of pips, set the breakeven to the entry point of the signal.
  • Adjustable Stop Loss: Be able to adjust the stop loss, especially when there is news or other market events that may impact trading conditions.
  • Take Profit: Fixed take profit at 100 pips.
  • Trailing Stop: No trailing stop will be used.

2.3. Money Management

  • Lot Size: Set the lot size for each trade based on user input or calculated based on the position size percentage.
  • Maximum Drawdown: 30% of the account balance.
  • Maximum Number of Open Positions: Only one position (either long or short) will be open at any time.

2.4. Trade Management

  • Hedging: Hedging will not be used.
  • Martingale or Grid Strategies: These strategies will not be used.

3. Technical Requirements

3.1. Platform

MetaTrader 5 (MT5)

3.2. Programming Language

MQL5

3.3. Performance

  • Execution Speed: Orders should be executed in less than a second, if possible.
  • Resource Usage: The EA should minimize CPU and memory usage.

4. Non-Functional Requirements

4.1. Reliability

  • Uptime: The EA should maintain 99.9% uptime.
  • Error Handling: The EA should handle errors gracefully and log them for further analysis.

4.2. Maintainability

  • Code Documentation: The code should be well-documented with comments explaining the logic.
  • Modularity: The code should be modular to facilitate future updates or changes.

4.3. Security

  • Access Control: Only the admin can modify EA settings.
  • Data Protection: Sensitive data should be handled securely.

5. User Interface Requirements

5.1. Inputs

  • Indicator Parameters:
    • Fast EMA period: Varies
    • Slow EMA period: Varies
  • Risk Parameters:
    • Position size (percentage of account balance): 1%
    • Stop loss: User-defined distance in pips from the signal candle low.
    • Take profit: 100 pips
  • Trade Parameters:
    • Maximum drawdown: 30%
    • Maximum number of open positions: 1
    • Lot size: User-defined or calculated based on the position size percentage.
  • Time Window Parameters:
    • Start Time: The start of the time window for taking entries.
    • End Time: The end of the time window for taking entries.

5.2. Outputs

  • Trade Logs: Detailed logs of each trade, including entry and exit points, position size, and profit/loss.
  • Performance Reports: Daily performance reports detailing key metrics such as profit factor, drawdown, and win rate.

6. Testing Requirements

6.1. Backtesting

  • Historical Data: Use historical data from the past 2 years.
  • Performance Metrics: Evaluate metrics such as profit factor, drawdown, win rate, and total net profit.

6.2. Forward Testing

  • Demo Account Testing: Test the EA on a demo account for 3 months to validate performance.
  • Live Testing: Test the EA in a live environment with limited funds for 1 month.

7. Documentation Requirements

7.1. User Guide

  • Installation Instructions: Step-by-step guide on how to install the EA on MT5.
  • Configuration Guide: Detailed instructions on how to configure the EA’s settings.
  • Usage Guide: How to start and stop the EA, and interpret its outputs.

7.2. Technical Documentation

  • Code Documentation: Include in-line comments and explanations within the code.

 


Responded

1
Developer 1
Rating
(249)
Projects
311
28%
Arbitration
33
27% / 64%
Overdue
10
3%
Free
2
Developer 2
Rating
(58)
Projects
85
27%
Arbitration
24
13% / 58%
Overdue
7
8%
Loaded
3
Developer 3
Rating
(93)
Projects
114
24%
Arbitration
21
29% / 52%
Overdue
8
7%
Free
4
Developer 4
Rating
(2)
Projects
5
0%
Arbitration
3
0% / 100%
Overdue
1
20%
Working
5
Developer 5
Rating
(9)
Projects
20
10%
Arbitration
4
50% / 50%
Overdue
5
25%
Free
6
Developer 6
Rating
Projects
1
0%
Arbitration
4
0% / 50%
Overdue
0
Working
7
Developer 7
Rating
(3)
Projects
9
22%
Arbitration
12
42% / 58%
Overdue
0
Free
8
Developer 8
Rating
(3)
Projects
5
20%
Arbitration
3
0% / 100%
Overdue
2
40%
Free
9
Developer 9
Rating
(12)
Projects
9
33%
Arbitration
11
0% / 100%
Overdue
2
22%
Free
10
Developer 10
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
11
Developer 11
Rating
(144)
Projects
186
41%
Arbitration
24
58% / 21%
Overdue
13
7%
Free
12
Developer 12
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Free
Similar orders
I am looking for an experienced MQL5 developer to build a very fast AI-assisted scalping Expert Advisor, with special focus on XAUUSD (Gold). Core Strategy Designed mainly for XAUUSD, but should also work on all forex pairs and metals Opens multiple trades in the same direction Closes trades immediately once they are in profit (very small, fast profits) Optimized for high-speed scalping No martingale and no risky
hello great developer I’m hiring a developer to build a local-only trade copier that sends trades from MT4 and MT5 to NinjaTrader 8 (NT8) in real-time. This copier must be reliable, fast, and fully executable without cloud dependence. I require a short test/demo period before full delivery to ensure quality and performance. here is the full project specs in the file check it please
Trade copier 100+ USD
hello great developer This is what I need: I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
I want to add and remove few things in ea need some modification needed in ea developer should have some trading knowledge also to understand the requirement better and have good experience in coding
i have an exper advisor in ex4 ...want to convert it to mq4 or mq5 file this is ea was created thru a programmer and received only ex4 file....that time i was new so did not know about mq4 file. of if anyone can help me to replicate this ea to mq4 or mq5
hello great developer I need help developing an ICT 2022 model indicator and testing it thoroughly to ensure optimal performance and accuracy. Scope of work - Create an ICT 2022 model indicator with specified features. - Conduct repeated tests and strategy tests to refine the indicator. - Implement midnight to 9:30 box high and low range settings. - Include signal settings for major liquidity and structure break with

Project information

Budget
30 - 100 USD
Deadline
from 1 to 2 day(s)