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
(70)
Projects
83
11%
Arbitration
13
62% / 23%
Overdue
6
7%
Free
Published: 16 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
(319)
Projects
568
35%
Arbitration
82
30% / 45%
Overdue
206
36%
Loaded
11
Developer 11
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
Mr quetta 100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly

Project information

Budget
30+ USD
Deadline
to 3 day(s)