A highly customisable martingale forex robot

MQL5 Experts C++ Forex

Job finished

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

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
(2671)
Projects
3404
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
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
477
40%
Arbitration
105
40% / 24%
Overdue
81
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
PLATFORM: MetaTrader 5 (MQL5) ASSET: XAUUSD (Gold) ACCOUNT TYPE: Live Raw Spread Account (Floating Spread + Commission) 500x leverage The broker commission is exactly 3 usd per standart lot per side6.00 round turn). The EA's internal trade tracking, net profit/loss metrics, and trailing drawdown calculations must completely factor in these commission charges alongside the raw asset spread. I need a clean, optimized
I am in need of creating a new like crypto coin, I need experts to evaluate my idea,---- --------------- ------------ - -------------------------------------- ----------------------- ------------- ---------------------------------- ----------------------------------------------------------------------- ------------------------------------------------------------------------
Siraj Durrani 30 - 50 USD
Title: Need MT4 Expert Advisor for XAUUSD (SMC/ICT Strategy) Requirements: I need a professional MT4 Expert Advisor (EA) for XAUUSD based on Smart Money Concepts (SMC) / ICT strategy. Features: - Platform: MetaTrader 4 (MT4) - Symbol: XAUUSD - Automatic Buy and Sell trades. - Detect market trend automatically. - Use Break of Structure (BOS) and Change of Character (CHoCH) for trend confirmation. - Enter trades only
Xauusd to gold 35+ USD
The EA must be fully automated , backtest-friendly , prop-firm-safe , and built with a clean modular architecture . Core Strategy Requirements 1. Higher Timeframe Bias Use D1 and H4 . Use 200 EMA as trend filter: If price is above 200 EMA on both D1 and H4 -> allow BUY only If price is below 200 EMA on both D1 and H4 -> allow SELL only If D1 and H4 are not aligned -> no trade 2. Market Structure Module Detect and
Pine Script Integration Request (Experienced Coders Only) I am looking for a highly experienced Pine Script developer to integrate a Demand & Supply Zone module into my existing indicator. Requirements Keep my current indicator (Rudy) exactly as it is. Do NOT modify, remove, or alter any existing logic, calculations, signals, alerts, or visual elements. Add only the Demand & Supply Zone boxes from a second Pine
🔍 Strategy Logic 📌 Indicators Used 21 EMA RSI (Upper Level: 61, Lower Level: 39 – Customizable) 📈 Buy Side Setup (Long Entry) Step 1 – Trend Confirmation A Green candle must close above 21 EMA. Step 2 – Pattern Formation After the green candle, observe next 4 candles. At least one Red candle must form (opposite candle). That Red candle must also close above EMA. Step 3 – Key Level Marking Mark the High of the Red
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade

Project information

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