modification for existing EA
The NAME of the EA is JWS_ EA
The lines of code below is already coded into the ea.
It is known as MINLOT logic and is coded as recovery 1 and Recovery2
below is the MINLOT LOGIC.
extern bool Use_Switch_MINLOT=true;
extern int quantity_cons_wins_after_MINLOT=1;
extern double quantity_cons_wins_after_MINLOT_pips=1;
1. Please apply the logic above( known as MINLOT) to recovery3.( the MINLOT logic is not applied to [login to view URL] IS ALREADY IN THE EA. So. the task is to apply MINLOT to recovery3 also.)
2. the second logic to be added to the recovery3 mode is that the ea will take record of all lost single and consecutive
0.01 MINLOT + lost auto % lots.
a. at the point of entry, the ea will now enter 2 types of trade.
b. The first trade will be that the EA will enter the sum of all recorded lost single and consecutive 0.01 MINLOT + lost auto % lots.
the sum of all recorded lost single and consecutive 0.01 MINLOT + lost auto % lots trade will be known as SL RECOVERY TRADES.
( the reason for the sum of all lost lots is to recover all losses). the sum of all lost lots will have its
take profit automatically set to THE STOP LOSS VALUE + FLOATING SPREAD + 2 PIPS FOR COMMISSION.
THE STOP LOSS VALUE + FLOATING SPREAD + 2 PIPS FOR COMMISSION will be constant tp target for the recovery trades while it will retain the general SL.
The normal autolot trade will use the general TP and general SL.
c. so every time there is a loss or consecutive losses of the MINLOT and or auto % lots, the ea will take record of the lost lots and ALWAYS
enter the sum of all lost lots AS RECOVERY TRADES in addition to the normal auto% lots.
PLEASE NOTE:( and very important)
this logic of recovery trades is realized and complete IF THE EA constantly updates and TAKES THE RECORD OF all recorded lost single and consecutive 0.01 MINLOT + lost auto % lot.
JUST BEFORE the ea enters the normal autolot % trade.
this will allow the EA to ALWAYS KNOW the actual sum of lost lots to be entered in addition to the normal auto % lot
d. the second type of trade is the normal auto lot %.( this means that the ea will enter recovery trades and normal auto% lot trade
separately but simultaneously )
e. If all losses are not resolved, EA will continue to use 0.01 MINLOT.
f. If all losses are resolved, EA reverts to autolot%
g. if trades are closed by virtue of broker action or spread exceeding the specified value or for any other
reason resulting in the ea closing trades at a loss, the ea will take note of the lost lots and add them up and
enter the value of the lost lots as recovery trades as explained in (b) [login to view URL] short, if the ea closes any trade at a loss,
the ea will take record of the lost lots and enter them as SL recovery trades.
h. there will be an option for recovery3:
USE MINLOT+SL RECOVERY........TRUE/FALSE.
if set to true it will use MINLOT + SL RECOVERY logic but if set to FALSE, IT will use MINLOT only as in Recovery1.
3 freelancers are bidding on average $77 for this job
Hello sir, I'm available to code your (MQL4/5|NinjaTrader|TradingView|CBots) Expert Advisor and deliver it quickly, contact me back to discuss it further. Customer Services : -Payment after full test and confirmation Plus
A'm a metatrader expert and a software genius with an indepth knowledge and experience on coding and trading programming languages -Expert Advisors for MT4/MT5, NT7/NT8, indicators pinescript, amibroker. I will be hono Plus
Dear Client, I am expert in making Auto Trading Robot (EA) for MT4 and MT5. I am relatively new here but i have been doing this for 10 years and i have many private client outside this platform. I was working for a big Plus