A highly customisable martingale forex robot

MQL5 Experts C++ Forex

Job finished

Execution time 6 days
Feedback from employee
Nice working with him. Communicative and open-minded. Thank you!
Feedback from customer
Delivered the project as specified with good communication throughout the process. Would happily work with again. Five stars.

Specification

Hello!

I would like a customisable Trading robot / EA that follows a simple moving average and uses a customisable martingale system.

Specifically the user defined input variables are:

1. The number of periods used in the simple moving average (SMA)

2. The size in pips for the take profit (TP)

3. The size in pips for the stop loss (SL)

4. Whether new positions are opened converging towards or diverging away from the SMA

5. The sequence of lot sizes to be used (no more than 10 values needed)

6. Whether, in the event of the final lot size in the sequence being used and the trade still failing, to continue trading restarting the lot size sequence from the first lot size, or to cease trading until a trade would have been successful, and then restart trading using the first lot size in the sequence.


The program is to do the following:

1. The EA is to work in the timeframe of the chart the robot is attached to, and must be able to work on multiple markets at once.

2. When starting, open a new order.

3. When opening a new order, the EA compares the current price with the SMA of close prices (user input 1).

4. The EA is to then either open a buy or sell position depending on whether it is set to converge or diverge from the average (user input 4).

5. Unless the previous order was ended by its Stop loss, this new order is to use the first lot size in the given sequence (user input 5), with the EA attaching the specified TP and SL levels (user inputs 2 and 3).

6. If the Take profit is triggered then a new position is to be opened as soon as possible, as per steps 3, 4 & 5- with the lot size restarting from the first value.

7. If the Stop loss is triggered then a new position is to be opened as soon as possible, as per steps 3, 4 & 5, however the next lot size in the sequence is to be used (user input 5).

8. If the last lot size in the sequence was used and the trade was ended by its Stop loss, then depending on the setting of user input 6, the EA is to either:

a) Stop opening positions and monitor the market (trading with 0 lots as it were) and recommence once a successful trade would have gone through, or

b) Continue opening positions restarting from the first lot size in the sequence.


I would like the source code for this to be provided.


If you have any questions / require any clarification please do send me a message.



Many thanks!



Responded

1
Developer 1
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
2
Developer 2
Rating
(41)
Projects
160
45%
Arbitration
16
13% / 50%
Overdue
48
30%
Free
3
Developer 3
Rating
(2)
Projects
2
100%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(23)
Projects
45
20%
Arbitration
25
28% / 48%
Overdue
12
27%
Free
5
Developer 5
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
6
Developer 6
Rating
(2678)
Projects
3422
68%
Arbitration
78
47% / 14%
Overdue
343
10%
Working
Published: 1 code
7
Developer 7
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
8
Developer 8
Rating
(1)
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Working
10
Developer 10
Rating
(15)
Projects
23
9%
Arbitration
7
29% / 57%
Overdue
2
9%
Free
11
Developer 11
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
12
Developer 12
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
13
Developer 13
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
14
Developer 14
Rating
(87)
Projects
114
26%
Arbitration
7
29% / 57%
Overdue
5
4%
Free
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
16
Developer 16
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
17
Developer 17
Rating
(7)
Projects
8
63%
Arbitration
1
0% / 100%
Overdue
1
13%
Free
Similar orders
I have an existing compiled MT5 Expert Advisor (.ex5) for XAUUSD scalping. I need a developer to build a bridge that connects my existing EA to a broker’s FIX API, allowing its trading signals to execute orders directly through FIX instead of the standard MT5 trade server. I do not need a new trading strategy or a new EA. Please confirm whether this is technically possible without the EA source code, and explain your
The present project has two parts. Part 1. Please refer to attached folder 1.Past Week Input File Presently it uses Chrome browser. It should be converted to Microsoft Edge. Presently, there are UserID and Password attached to it. These should be replaced by a cmd prompt asking for UserID and Password. Price $15. Part 2. Please refer to folder 2.Weekly Schedule. For Part 2, You will need the file
Hello, I want to create a custom Expert Advisor (EA) for MetaTrader 5 based on 3 main confirmations: Market Structure & Price Action: Identify high time-frame trend direction (HL/LH). Chart Pattern: Detect classic continuous/reversal patterns (e.g. Cup and Handle, Double Bottom/Top) on trading timeframe. Volume Profile (PoC): Confirm entry when price breaks/retests the Point of Control (PoC) level. Risk Management &
I am looking for a highly skilled trading strategist and MQL5 developer with genuine experience in researching, designing, testing, and implementing systematic trading strategies. My primary interest is XAUUSD (Gold), although proven experience with other financial markets is also welcome. I am not looking for someone who simply converts trading rules into code. I want to identify a professional who understands
We’re looking for an investment partner to help fund AegisGoldAIPro , an algorithmic trading platform being developed for MetaTrader 5, initially focused on gold. We’re building a modular system that combines market-structure analysis with planned AI-assisted decision support, risk controls, and automated execution. What we are building is not just a basic trading robots that depend on only one indicator or strategy
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical

Project information

Budget
30 - 50 USD
Deadline
from 1 to 7 day(s)