Simple Martingale EA with lot manipulation

Job finished

Execution time 1 day
Feedback from customer
Developer delivers very fast and timely, reply without much delay. Recommended if you are searching for fast developer. Although ugly code at first, he was willing to modify it and make it better.
Feedback from employee
Very good customer. Replies quickly. Explains everything very clearly. No problems at all. Looking forward to work for you again.

Specification

Entry

First trade type = Buy (Default)/ Sell

Start lot = 0.1

Lot multiplier = 2.0

Max lot = 1.0


Entry condition

  1. If there is no trade (and no losing trade in the past). Directly open 1 trade with start lot and default First trade type (by default it will first open buy)
  2. Once the trade TP, (and is confirmed profit with Swap, commission and spread), it will immediately reopen a new Buy trade again (same as last winning trade).
  3. When it reached SL, (and is confirmed profit with Swap, commission and spread), it will immediately reopen a new Sell trade (reverse the trade type from the one that is losing)
    • Buy SL = Open Sell
    • Sell SL = Open Buy
    • The new open trade here due to SL of last trade will be >> Previous open lot * Lot multiplier = 0.1*2.0 = 0.2 lots
    • If this trade (Sell) hit SL again, it will change back to buy with 0.2*2.0 = 0.4 lots
    • If SL again, it will change to open sell at 0.8 lots
    • If SL again, it will open buy trade BUT at 1.0 lots (limit by the Max lot of 1.0)
      • If continuously SL, it will just open fixed at 1.0 lots
    • When the trade finally get TP (e.g. the Buy trade at 1.0 lot), it will change the lot size back to start lot of 0.1. And continue the same trade type as last winning trade with starting lot. (Back to checking condition of 2 and 3)


Exit (Fixed TP & SL)

TP = 500 pts

SL = 500 pts


Inputs

Magic no = 15112021

Comment = RM_EA_(ORDER TYPE)_(Magic no.)

  • Insert ORDER TYPE - when buy is 1 and when sell is 2
  • Magic no. as what key in by user


Clean and Readable source code is needed



Responded

1
Developer 1
Rating
(68)
Projects
81
11%
Arbitration
12
67% / 25%
Overdue
5
6%
Free
Published: 14 articles, 6 codes
2
Developer 2
Rating
(93)
Projects
133
35%
Arbitration
13
38% / 31%
Overdue
32
24%
Free
3
Developer 3
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
4
Developer 4
Rating
(71)
Projects
103
20%
Arbitration
6
0% / 83%
Overdue
3
3%
Free
5
Developer 5
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
6
Developer 6
Rating
(499)
Projects
744
56%
Arbitration
48
31% / 31%
Overdue
120
16%
Free
Published: 1 code
7
Developer 7
Rating
(91)
Projects
144
38%
Arbitration
67
15% / 48%
Overdue
55
38%
Free
8
Developer 8
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
9
Developer 9
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
10
Developer 10
Rating
(313)
Projects
559
35%
Arbitration
79
32% / 43%
Overdue
203
36%
Free
11
Developer 11
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
I need a mt5 expert advisor as shown in the youtube video. The expert advisor need to work with three digit broker i.e. exness also with two digit broker i.e. vantage. Please specify the settings for both type of brokers. I need same result as shown in the youtube video. Video link is https://www.youtube.com/watch?v=ndVQD7iS1-A
You can control via Telegram: /start - enable bot, begin trading, /stop - end trading, disable bot /status - trade status Bot requirements: • Automated trading throughout the day until 00:00 UTC (Moscow time) (I do not want to trade or turn the bot on 100 times a day). • Auto shutdown of the bot in Telegram at 00:00 UTC (Moscow time) and manual restart when convenient. • Market analysis 24/5 using 20 EMA, RSI, and
I am seeking an alert-only EA. An EA that will follow all the rules but not execute a trade. As this is a repeat posting I am seeking the successful technician - Xiro from Vietnam. Thanks Karl
Ninjatrader bot 30+ USD
I am looking for an experienced developer who specializes in NinjaTrader and NinjaScript to build a fully automated trading bot. The goal is to create a “sniper-style” trading system that focuses on precise entries, strong risk management, and structured trading logic. This is NOT a simple indicator project I am looking for someone who understands algorithmic trading and can translate trading rules into a reliable
Looking for a trading bot / Expert Advisor that wont make dozens of small successful trades and then one or two unsuccessful trades that wipes out your account Requirements: - MT4 capable - Use on the major currency pairs - although open to other currency pairs - Be successful in monetary terms not necessarily in how many successful trades
I need a MT5 Prop firm challenge passing EA with strict prop firm rules compliance. Any strategy can be used but win rate should be above 70%. It should have high impact news filter and a dashboard panel to monitor daily drawdown, target profit, current balance, etc. It should not have martingale, grid, hedging, etc
Hello Developers I have a Project to get done! i have a simple strategy can you please create the automated forex ea to execute my trading strategy? i need custom ea for tradingview and mt4/mt5 correction: i need a tradingview indicator created that tells me when to buy or sell. and ea in mt4/mt5
Pro firm setup 30+ USD
Hi, I am starting a futures prop firm. Are you able to help me get data feed for this with no delays and can handle many traders on the platform. Additionally, are you able to handle charts for us
Mam kody EA Bot. Chciałbym je dokończyć, dopracować i ukończyć projekty. Chciałbym otrzymać pliki SET po ukończeniu EA. Jeśli jesteś zainteresowany, skontaktuj się ze mną. Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w
I am looking for an experienced developer to create a custom Expert Advisor (EA) for trading. The developer should have strong knowledge of MT4/MT5, strategy logic, indicators, risk management, and backtesting. Experience in building reliable and professional trading robots is preferred. Please contact me if you have done similar projects before. 9817724000

Project information

Budget
30+ USD
Deadline
to 3 day(s)