Add martingale to existing EA

MQL4 Experts

Spécifications

Add martingale optional function to my existing EA. With Percentage you want recovered, over how many trades you want the recovery to be split into and maximum cycles of recovery attempts allowed.


Example - Normal trade is 10 sl 10 tp for this trade using 1 lot - this trade loses - example $100

I want a setting to choose how much percent of the loss I want to recover.





If I put in 100, means I want 100% of the lost trade recovered in the next trade(s) so $100 not including the normal trade size.
If I put in 50, means I want to recover 50% so $50 recovered in the next trade(s)





The lot used is dependent on sl and tp. In this example 10 pips is the tp. so we work out the lot size needed to produce $100 which is 1 lot for 100%
So In this example of needing 100%. 1 lot needs to be recovered for the loss in the next trade placed.
1 lot for recovery and 1 lot for the normal trade means the next trade lot size will be 2, to recover the loss plus take its normal trade.


Another setting choosing in how much trades will be used to recover the loss.
In previous example we used 1 trade to recover 100% of the loss.
Example if we want it to be recovered over 4 trades. the 1 lot which we need to recover will be split into 4, so 0.25 needs to be recovered 4 times.
0.25 lots for recovery plus 1 lot for normal trade means 1.25 lots for next 4 trades, if all trades win then this is the end of recovery and goes back to original
risk being used.

Maximum cycles stops loss and loss and loss. Example. If we are using 2 maximum cycles If EURUSD losses 1st trade at 1 lot.
The cycle is the attempt of recovery. So example 100% from 1 trade. original trade 1 lot loses. 1st cycle recovery trade 2 lot loses.
2nd and final cycle 4 lot trade loses. That ends the cycle as maximum attempts have been made and then it goes back to original lot sizes.

Outstanding balance needed to be recovered from previous cycle is added onto the new cycle


Each pairs recovery works individually. if EURUSD and GBPUSD enter the trade and EURUSD loses. The next GBPUSD will use original stated lot size the EURUSD will

use recovery lot size.


Dossiers :

Répondu

1
Développeur 1
Évaluation
(3)
Projets
7
29%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
Publié : 4 codes
2
Développeur 2
Évaluation
(365)
Projets
412
36%
Arbitrage
35
26% / 57%
En retard
63
15%
Gratuit
3
Développeur 3
Évaluation
(277)
Projets
334
55%
Arbitrage
14
36% / 29%
En retard
1
0%
Gratuit
4
Développeur 4
Évaluation
(1)
Projets
1
0%
Arbitrage
3
0% / 100%
En retard
1
100%
Gratuit
Commandes similaires
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help
i need price action and candle logic understand programmer need for this job... first understand logic and interested please message .... first understand logic and interested please message .... 2 types of hedge entry conditions: 1 is candle based 1- when i start point ea hh candle buy entry, after ll made 2- below the previous candle hedge sell order 3- if market goes again hh, if sell order profit book again
Ea which is based on the price returning to the open or close of a 1-minute candle or zone of candles. panel on chart need too have buttons : trainding on/off close all close profit add buy stop add buy limit add sell stop add sell limit ( all to existing setups) calculating profit/loss for a single open setup and in total in account currency calculating profit/loss for a single open setup and in total in percentage
Hi, I’m looking for an experienced MQL5/MT4 developer to work on a trading BOT project. I currently have an MT4 demo environment with IC Markets for testing, but the complete strategy specifications have not yet been provided. I’d like you to first review the available project/BOT information and let me know what you would need to configure, develop, and properly forward-test it. The testing should cover entries
PEACE BOT 30+ USD
#property version "2.10" #property description "Chizzy Trend Rider - HFM-ready (hedging/netting safe)" #include <Trade/Trade.mqh> CTrade trade; //================ INPUTS =================// input double LotSize = 0.01; // Fixed lot (used if RiskPercent = 0) input double RiskPercent = 0.0; // Risk % of balance per trade (0 = use LotSize) input ulong MagicNumber = 220026; input ENUM_TIMEFRAMES TrendTF =
PRECISION ENTRY PRO EA V1 MT5 EXPERT ADVISOR REQUIREMENTS SPECIFICATION PROJECT NAME: Precision Entry Pro EA V1 PLATFORM: MetaTrader 5 (MT5) LANGUAGE: MQL5 1. PROJECT OBJECTIVE I want a simple, reliable and fully automated MT5 Expert Advisor based on the following trading concept: TREND → MARKET STRUCTURE → FIBONACCI RETRACEMENT → PRICE ACTION CONFIRMATION → ENTRY → STOP LOSS → TAKE PROFIT. The purpose of V1 is to
I need an MT5 Expert Advisor (EA) specifically for NFP news trading. Strategy: - Trade EURUSD during the US Non-Farm Payroll (NFP) release. - Automatically identify the NFP release time. - Place a Buy Stop above the current price and a Sell Stop below the current price shortly before NFP. - Adjustable distance from current price for both pending orders. - When one order is triggered, automatically cancel the opposite
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
Bonjour ! Je vous ai contacté pour le développement de mon EA sur MetaTrader. Je souhaite intégrer une stratégie précise avec une gestion stricte des règles du courtier Exness. J'ai déjà préparé le cahier des charges complet sous format PDF avec toutes les spécifications techniques
SKBOT 35+ USD
want an MQL5 Expert Advisor (EA) for MetaTrader 5, mainly for XAUUSD (Gold). Strategy: The EA should trade based on market structure, Break of Structure (BOS), Fair Value Gaps (FVG), Order Blocks (OB), and Fibonacci retracement levels. BUY setup: Detect bullish market structure. Detect a bullish Break of Structure (BOS). Identify the relevant bullish FVG and/or Order Block created around the structure move. Use

Informations sur le projet

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