Create a simple mt4 ea martingale

Spécifications

I need to program a simple martingale EA


1) if there are no open trades do a Buy/Sell analysis based on ema 20, 50 and 200 crossover. (if you have better accurate methods please propose)

2) open the first buy / sell based on ema

3) trade martingale until Profitable pips is met

needs you expertise to get customised Martingale inputs from user
some of the inputs i really need is:
martingale pair (select the pair that will run martingale or just detect from current ea chart)
starting lot size
multiplier
pips distance min (minimum -ve pips required for opening next martingale trade  )
Profitable pips  (when the total trades are in profitable pips range, close all trades)
magic number (to do trade management , in case mt4 chart needs to restart)



Répondu

1
Développeur 1
Évaluation
(90)
Projets
136
14%
Arbitrage
43
21% / 28%
En retard
14
10%
Gratuit
Publié : 2 codes
2
Développeur 2
Évaluation
(22)
Projets
28
29%
Arbitrage
3
0% / 67%
En retard
7
25%
Gratuit
3
Développeur 3
Évaluation
(213)
Projets
246
45%
Arbitrage
42
10% / 57%
En retard
5
2%
Gratuit
4
Développeur 4
Évaluation
(84)
Projets
149
31%
Arbitrage
32
34% / 41%
En retard
43
29%
Gratuit
5
Développeur 5
Évaluation
(258)
Projets
269
29%
Arbitrage
2
50% / 0%
En retard
3
1%
Travail
Publié : 2 codes
6
Développeur 6
Évaluation
(229)
Projets
339
49%
Arbitrage
21
5% / 33%
En retard
24
7%
Gratuit
7
Développeur 7
Évaluation
(414)
Projets
670
33%
Arbitrage
60
17% / 32%
En retard
113
17%
Travail
8
Développeur 8
Évaluation
(618)
Projets
1429
59%
Arbitrage
31
81% / 0%
En retard
10
1%
Gratuit
9
Développeur 9
Évaluation
(1305)
Projets
1735
49%
Arbitrage
55
67% / 16%
En retard
38
2%
Gratuit
10
Développeur 10
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
11
Développeur 11
Évaluation
(365)
Projets
412
36%
Arbitrage
35
26% / 57%
En retard
63
15%
Gratuit
12
Développeur 12
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
13
Développeur 13
Évaluation
(10)
Projets
13
46%
Arbitrage
0
En retard
1
8%
Gratuit
14
Développeur 14
Évaluation
(2676)
Projets
3419
68%
Arbitrage
77
48% / 14%
En retard
343
10%
Travail
Publié : 1 code
15
Développeur 15
Évaluation
(16)
Projets
21
19%
Arbitrage
7
0% / 71%
En retard
14
67%
Gratuit
16
Développeur 16
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
Commandes similaires
//+------------------------------------------------------------------+ //| UltraBot_MT5_EA.mq5 | //| Copyright 2026, UltraBot Algorithmic Engine | //| Brokers: RCG Markets & Razor Market | //+------------------------------------------------------------------+ #property copyright "UltraBot Automated Algo" #property link "https://ultrabot-mt5.app" #property version
https://www.youtube.com/watch?v=xMNx8f-aGQE&amp ;t=56s risk 1% per trade watch the video carefully and automate the trade setups in XAUUSD i prefer picking the least drawdown and good return expert advisor do not use overfitting(Strict) account type : hedging
FREELANCER JOB ORDER: DEVELOPMENT OF A MULTI-ASSET FTMO-COMPLIANT EXPERT ADVISOR (EA) 1. Project Title Development of a Professional, Configurable MT5 Expert Advisor for FTMO Challenges and Funded Accounts — Forex, Gold, Silver and Commodities 2. Project Overview I am seeking an experienced MQL5 developer to design and develop a professional automated trading system (Expert Advisor) for MetaTrader 5 (MT5). The EA
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
1. Overview Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries. 2. Platform and symbol MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5) Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm) Default timeframe: M5 (configurable; M1 to M15 should work) 3. Indicators Heiken Ashi candles, calculated inside the EA (no
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester
Hi i'm looking for a trading bot that will trade on mt5/MQL5. The bot must be able to follow trend and works on any pair,chart and symbol. All distance measured with ATR. Trend from a higher time frame (default H1) with a moving average;UP/DOWN. Support and resistance found automatically from recent swing highs and low nothing drawn on the chart. Two kinds of trades, each can be switched on/off. S/R trades; price
I am looking for an EA using MT5, trading XAUUSD on PuPrime-Live6, Standard account. LIMITATIONS No martingale, no grid. Start equity 1000 EUR. Leverate 1:500 Account in USD. PuPrime-Live6 All settings (risk, time, drawdown %, cooldown, lot size) shall be adjustable on init or backtest. VERIFICATIONS The EA needs to reach the profit goals on Actual Ticks, 100ms slippage in backtests for each month 2026. profit goal
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the

Informations sur le projet

Budget
60+ USD