The EA will
be a trade manager. It won't open positions by itself,
but only manage trades which are
opened manually or by another EA.
If a long position is opened the
EA sets Stop Loss and Take Profit marks
according to the input
parameters (pip-distance from entry price).
BUT these levels are no real SL
or TP orders, but only price levels
which require further actions
when hit.
If TP is hit, the trade will be
closed normally.
If SL is hit, the ALR (automatic
loss recovery) algorithm starts.
ALR
example input parameters:
SL: 500
TP: 1500
FixedProfit: 100
MaxTurns: 10
The first trade is opened
manually or by another EA. For example 1 Lot long at 1,29500
SL level is 1,29000, TP
level is 1,31000.
If SL is hit, the orignal
position remains OPEN, but the EA opens an additional position, for example 1.4
Lot short at 1,29000. SL of the 2nd trade is 1,29500, TP of the 2nd trade is
1,27500.
If then TP of the 2nd trade
(1,27500) is hit, all positions are closed immediately.
That would be 1 Lot with a loss
of 2000pips and 1,4 Lot with a profit of 1500pips --> 100 Pips profit.
BUT: If SL of the 2nd trade is
hit, another position is opened, for example 0,93 Lot long at 1,29500.
SL of the 3rd position would be
1,29000 and TP of the 3rd positon would be 1,31000.
If then TP (1,31000) is hit, all
positions are closed immediately at 1,31000.
But, if 1,29000 is hit, the game
starts all over again.
For better understanding, look
at the picture.

The EA should calculate the Lot
Size of the next trade which is necessary to
get a certain amount of pips
profit. This amount is an input parameter
(can also be zero if you just
want the get out of a trade break even).
After 10 turns (also an input
parameter) no more new positions should be opened.
But if either TP or SL is then
hit all position should be closed immediately.
That's how calculations look like:

Ordini simili
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Fast trading bot for starters less losses which leads to bigger profits made for thousands of people making billions of dollars .be the best trader for your self all the way
Faster robot with less losses which can be used for a long term earning money every day creating a bot for more than thousands of people to earn billions of money
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de