Adding martingale to ea

MQL4 Indicators Experts

Job finished

Execution time 2 hours
Feedback from customer
Very fast developer, work well done. thank you.
Feedback from employee
Good Customer thank u

Specification

Hi. I need to add a martingale option to my EA. Here are the features:

1° - There should be a true/false option in the settings to activate/deactivate the martingale.

2° - The martingale should be independent from the existing "AutoLots" money management. So I will set manually the amounts of lots of the martingale (explained at point 5°).

3° - The martingale should work at the end of every trade, so that it modifies the lots of the next trade only after that the previous trade is closed.

4° - Then, if the previous trade is in profit, the same initial lots quantity is maintained, so for example if it starts the first trade with 0.01 lots and it wins, the next trade will be of 0.01 lots. Instead, if the trade is in loss, the EA should increase the lots in the next trade (by settable numbers in the settings - explained below), and it should increase the lots every time there is a loss (but with a limit - explained below), so that when it wins it recovers all the previous losses.

5° - There should be 20 parameters in the options where I will put every amount of lots of the martingale, so that I can customize them, for example:
     1°- 0.01
     2°- 0.02
     3°- 0.04
     4°- 0.07
     5°- 0.13
     ...and so on till 20°

6° - There should be a settable option of maximum number of bets of the martingale after a loss, so for example if I set "maximum number of bets" = 8, the ea should use the martingale for 8 times, and if I lose one time again (9 times) it doesn't increase lots again and takes all the 9 losses, AND after that big loss it should restart from the initial lots (ie. 0.01), doing the same as before so if it wins it should maintain the same lots AND if it loses it should restart to increase lots (ie. 0.01, 0.02, 0.04...).

I request the final source code in mq4 file.

Regards.



Responded

1
Developer 1
Rating
(636)
Projects
1008
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
2
Developer 2
Rating
(213)
Projects
246
45%
Arbitration
42
10% / 57%
Overdue
5
2%
Free
3
Developer 3
Rating
(361)
Projects
644
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
4
Developer 4
Rating
(117)
Projects
138
41%
Arbitration
30
7% / 77%
Overdue
17
12%
Free
5
Developer 5
Rating
(45)
Projects
59
14%
Arbitration
31
26% / 52%
Overdue
34
58%
Free
6
Developer 6
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
7
Developer 7
Rating
(170)
Projects
203
47%
Arbitration
5
20% / 60%
Overdue
3
1%
Free
8
Developer 8
Rating
(620)
Projects
680
57%
Arbitration
25
16% / 60%
Overdue
228
34%
Free
9
Developer 9
Rating
(7)
Projects
8
38%
Arbitration
3
33% / 33%
Overdue
2
25%
Free
10
Developer 10
Rating
Projects
0
0%
Arbitration
3
0% / 100%
Overdue
0
Free
Similar orders
Custom MT5 Expert Advisor (EA) Development | MQL5 Automation Turn Your Trading Strategy into a Powerful Automated Trading System! Are you looking for a professional MT5 Expert Advisor developer to automate your trading strategy? I specialize in developing custom MetaTrader 5 (MT5) Expert Advisors and indicators using MQL5 , tailored to your trading rules, risk management preferences, and trading goals. Whether you
I am looking for an experienced MQL5 developer or development team to build a scalable Telegram-to-MT5 copy trading system. The main purpose of the system is to monitor trading signals from my Telegram channel and automatically execute those signals on connected client MT5 accounts. Core Requirements Receive and parse trading signals from Telegram Automatically execute trades on connected MT5 accounts Support more
Thana ram 30 - 200 USD
Hello, I want to develop a custom MT5 Expert Advisor (EA) for XAUUSD Gold. IMPORTANT: I want a proper rule-based automated trading EA, NOT a martingale, grid or guaranteed-profit bot. 1. MARKET & TIMEFRAME - Platform: MT5 - Symbol: XAUUSD only - Main trend timeframe: M15 - Entry timeframe: M5 - Must support broker suffixes such as XAUUSDm, XAUUSD., etc. 2. TREND RULE BUY trend: - M15 price above EMA 50 - EMA 50 above
I need a TradingView Pine Script (v6) indicator that gives BUY and SELL signals in real time on the live chart. MAIN REQUIREMENT – NO REPAINTING: 1. Signals must appear only when the candle closes (barstate.isconfirmed). Example: on 1-min chart, signal for the 10:35 candle must appear at 10:36 and never disappear or move. 2. Signals on historical bars must look exactly the same as they looked live. 3. No lookahead
Description I am looking for a highly skilled MQL5 Developer & Trader with strong experience in EA optimization, stress testing, and forward validation. The EA is already coded and running. What I need now is: 1.Simple code editing, code adjustment/upgrading and code tamplates inserting, 2.Parameter Optimization & Re-Validation – Find the best stable settings for XAUUSD (not overfitted). 3.Robustness / Stress Testing
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Strategy 40 - 60 USD
yo i have a strategy i would really like to turn into a signal bot basically please this is very technical and serious to me the strategy needs more time 1 time frame and the bot most be 100% accurate
can you help me use a Tickblaze Algo NRBO on the NT platform? I have it somewhat set up, but I have other questions about running it & knowing how to operate it in NT. Thank you if anyone have experience in this kindly bib and let do it asap
I need a trading system similar to the attached files. Check attachment for details on the indicator. i guess the indicator contains some of (Rainbow MA , MTF Dashboard , Symbol Switcher , and Trend Histogram), though may not be exactly as listed
I have a EA/Bot I’ve designed and want it to be put onto me MetaTrader5 this month. I’m new here and also need to figure out how to get a live account and add a UK broker

Project information

Budget
30+ USD
Deadline
to 2 day(s)