Add martingale to existing EA

MQL4 Esperti

Specifiche

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.


File:

Con risposta

1
Sviluppatore 1
Valutazioni
(3)
Progetti
7
29%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
Pubblicati: 4 codici
2
Sviluppatore 2
Valutazioni
(365)
Progetti
412
36%
Arbitraggio
35
26% / 57%
In ritardo
63
15%
Gratuito
3
Sviluppatore 3
Valutazioni
(277)
Progetti
334
55%
Arbitraggio
14
36% / 29%
In ritardo
1
0%
Gratuito
4
Sviluppatore 4
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
3
0% / 100%
In ritardo
1
100%
Gratuito
Ordini simili
A robot 50+ USD
hy i am looking for someone who can fix robot for me .i need someone who know about order block .my entries are only order block. I have robot already i need only fix it.i just need someone who can fix this as soon as possible
Hello, I m looking for experienced developer to code me indicator Market structure all in one in my EA MONEYPAL, to open trade on FVG separated by fractal signals.Thank you Regards
EMA CROSS OVER I NEED EMA CROSS OVER ROBOT THAT EMA 5,10,21 CONDITIONS 1 5 EMA ABOVE 21 CANDLE CLOSE BUY 2 5 EMA JUST BELOW EMA 10 TAKE PROFIT 3 5 EMA BELOW 21 CANDLE CLOSE SELL 4 5 EMA JUST CLOSE EMA 10 FROM DOWN TAKE PROFIT
I’m looking to consult with an experienced developer about the creation of a reliable copy trading system specifically designed for scalping . Currently, we are managing more than 100 accounts copying trades from a single master account. Since we use scalping strategies, even a small delay can impact the performance and results. The systems we’ve tried so far have delays of up to 5 seconds, which is too much for this
Hello, I want to debug my sierra chart and I have the study. That's the study I just want to add 4 study overlay in the input settings and color bar based on alert condition is sg1=1 That's the study I want it to trail the order instead of flat to avoid too much slippage What I do is the 15-Minutes chart I have filter also in the 10tick chart if those filters are meet the bar is green or red using sierrachar color
The PRD: 1. Plugin ensures that individual opening positions come from MT4 to our colocated virtual machine 2. A score is returned from a lookup 3. Binary decision based on score. 4. Matches closing position with opening position; doesn't score, simply closes the trade. The plugin UX should have the following: 1. Risk threshold per grouping, easily entered by the client 2. Reporting of revenue comparisons To confirm
I need an EA for magic number that shows three unique numbers in every single candle.Mainly this EA shows the strength of the candle and momentum . More details inbox me
Specification AR Code a grid expert advisor (EA) MQL5 that uses a sort of hedged laddering mechanism . Core Logic Outline: Initial Setup : Open a double trade (Buy & Sell) at the current market price. Set two pending double trades (Buy/Sell limits) at a fixed distance on either side (e.g., ±X pips). On Trigger Event : When price hits one of the pending double trade levels, execute the new double position
Description: I need a professional MetaTrader 5 developer to build a clean, fully editable Expert Advisor (EA) that strictly controls risk based on dollar-loss thresholds per lot size, and includes hard rules for equity protection and trade limits. Trade Management Rules 1. Dollar-Based Auto Close (Per Lot Size) The EA must close each individual XAUUSD trade once its loss in USD reaches a specific threshold tied to
I need someone experienced to develop a trading robot with the criteria's - Heikin ashi candle logic - Buystops under certain conditions - Trailing stop losses at a certain interval - Dynamic position sizing so its able to calculate lot sizes and risk the correct % each trade , - Understand heikin ashi swing high swing low logic to find where to place the stop loss/identify correct entries , - Be able to only make

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
a 2 giorno(i)