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
743
56%
Arbitration
47
32% / 30%
Overdue
119
16%
Working
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
(305)
Projects
548
35%
Arbitration
79
32% / 42%
Overdue
197
36%
Working
11
Developer 11
Rating
(69)
Projects
146
34%
Arbitration
13
8% / 62%
Overdue
26
18%
Free
Published: 6 codes
Similar orders
Hello, I’m reaching out because I’m interested in hiring you to develop a custom trading bot for me. The bot should trade only XAUUSD (Gold) and be designed for long-term account growth using my own trading account size. Here are the core requirements: - Account size: $300 - Asset: XAUUSD only - Risk management: Strict and properly controlled - Risk-to-reward ratio: Clearly defined and consistently applied -
SNIPER GOLD EA 50+ USD
اسكاليبنج سريع و اهداف ربح عاليه بدقه عاليه ساعات التداول من افتتاح السوق الى الساعه ٨ صباحاً ثم يغلق ويفتح تلقائياً من العصر الساعه ٦ عصراً الى الساعه ٨ صباحاً مع الحفاظ على راس المال دون استخدام تراينجل او جارد ولا يعنل وقت الاخبار ويقوم بتأمين الصفقات الرابحه بسرعه عاليه جداً والذقه في اختيار الصفقات اعتماداً على price action واقل drawdown التركيز على اوقات السيوله العاليه ادارة راس
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal
// Add this to your EA after ExportState() function void SendToBase44(const string state, const string dir, double entry, double sl, double tp) { string url = " https://preview-sandbox--ee0a32a725b788974de435e8cef40b7a.base44.app/api/functions/receiveEAState "; string headers = "Content-Type: application/json\r\n"; string json = "{" "\"symbol\":\""+_Symbol+"\","
For only developer who understand Chaos/ Profiunity trading system by Bill WIlliams, Create The Profitunity System Trading based on Bill Williams Chaos theory, Trade based on Trend Affirmation in Daily, entry in H4, using Williams Fractal, Williams Alligator, Awesome Oscillator, Accelerator Oscillator, Market Facilitation Index. Balance Line, entry on Reversal, add on while market show continuation sign. Please quote
Hi, I am looking for someone who has already developed a high-performance Gold EA that can outperform the one shown in my screenshot. If you have such an EA, please apply for this job. Please describe how the EA works (for example, whether it uses a grid system) and provide backtest results along with the set files. If the EA meets my expectations, you can make the necessary adjustments and I will use it as my own
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I want to check if this indicator is repainting or not Whick mean the results of back testing is legit or not if anyone can help me to review it kindly to well to contact me i will be happy to work and go on long term work with anyone thanks
1.Sinyal Perdagangan : Sinyal beli: garis MACD utama memotong garis sinyal ke atas (macd_current>signal_current && macd_previous<signal_previous). Sinyal jual: garis MACD utama memotong garis sinyal ke bawah (macd_current<signal_current && macd_previous>signal_previous). Gambar di bawah menunjukkan kasus beli dan jual. 2. Posisi ditutup pada sinyal yang berlawanan: Posisi beli ditutup pada sinyal jual, dan posisi
Project Description I am looking to collaborate with an experienced MQL5 / algorithmic trading developer who also has hands-on experience with Large Language Models (LLMs) and AI-driven systems. This is a long-term partnership opportunity , not a one-off paid freelance job. I bring 9 years of practical Elliott Wave trading experience , applied in live market conditions. The objective is to translate Elliott Wave

Project information

Budget
30+ USD
Deadline
to 3 day(s)