Simple Martingale EA with lot manipulation

Tâche terminée

Temps d'exécution 1 jour
Commentaires du client
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.
Commentaires de l'employé
Very good customer. Replies quickly. Explains everything very clearly. No problems at all. Looking forward to work for you again.

Spécifications

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



Répondu

1
Développeur 1
Évaluation
(70)
Projets
83
11%
Arbitrage
13
62% / 23%
En retard
6
7%
Gratuit
Publié : 16 articles, 6 codes
2
Développeur 2
Évaluation
(93)
Projets
133
35%
Arbitrage
13
38% / 31%
En retard
32
24%
Gratuit
3
Développeur 3
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
4
Développeur 4
Évaluation
(71)
Projets
103
20%
Arbitrage
6
0% / 83%
En retard
3
3%
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(499)
Projets
744
56%
Arbitrage
48
31% / 31%
En retard
120
16%
Gratuit
Publié : 1 code
7
Développeur 7
Évaluation
(91)
Projets
144
38%
Arbitrage
67
15% / 48%
En retard
55
38%
Gratuit
8
Développeur 8
Évaluation
(169)
Projets
204
30%
Arbitrage
25
40% / 44%
En retard
12
6%
Gratuit
9
Développeur 9
Évaluation
(568)
Projets
641
41%
Arbitrage
25
48% / 36%
En retard
46
7%
Travail
10
Développeur 10
Évaluation
(319)
Projets
568
35%
Arbitrage
83
30% / 45%
En retard
206
36%
Chargé
11
Développeur 11
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
Commandes similaires
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
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
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
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
SPECIFICA TECNICA Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo , in grado di adattare il comportamento alle diverse condizioni di mercato di XAUUSD. Lo sviluppatore può utilizzare tecniche appropriate quali trend Following
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or

Informations sur le projet

Budget
30+ USD
Délais
à 3 jour(s)