I WANT TO FIX THE PROBLEM MY EA HAS

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 2 horas
Comentario del Cliente
He is very good at his job, excellent job, excellent programmer.
Comentario del Ejecutor
Good customer. With you a pleasure to deal.

Tarea técnica

Help me fix the problem of my EA, it changes its SL or TP from the fixed value in pip i set for it to use, example, in the ea settings if i use 6pips for SL and 50pips for TP, and it wants to place a sell stop or buy stop order, on placing the order or on executing the sell stop or buy stop order it does change the SL to be equal to the TP... and this mistake happens almost very frequently which affects my trades setup, so i would have assumed it will stop out 6pips but unfortunately it will close 50pips negative instead of 6pips. 

SUGGESTION: There is this area of the mql4 code that says....

//======================= Program initialization ===========================================================

int OnInit()
  {
   int stoplevel;

   ArrayInitialize(array_spread, 0);
VolatilityLimit = VolatilityLimit * Point;
   Scalpfactor = Scalpfactor * 10 * Point / 3; 
   brokerdigits = Digits;
   pipette = Point; 
   
   stoplevel = MathMax(MarketInfo(Symbol(), MODE_FREEZELEVEL), MarketInfo(Symbol(), MODE_STOPLEVEL));
if (TakeProfit < stoplevel)
TakeProfit = stoplevel;
if (StopLoss < stoplevel)
StopLoss = stoplevel;
if (distance < stoplevel)
distance = stoplevel;
   
if (MathMod(Digits, 2) == 0) 
slippage = 0;
   else 
globalerror = -1;
   
   OnTick();
   return(INIT_SUCCEEDED);
  }

May be my suggestion might lead you on the right part faster....!

the EA is attached in this mail. and a picture description!

Thanks

Oyetola.

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(1130)
Proyectos
1432
62%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
2
Desarrollador 2
Evaluación
(219)
Proyectos
405
60%
Arbitraje
13
38% / 23%
Caducado
160
40%
Libre
3
Desarrollador 3
Evaluación
(27)
Proyectos
36
19%
Arbitraje
14
21% / 71%
Caducado
12
33%
Libre
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
6
Desarrollador 6
Evaluación
(28)
Proyectos
47
23%
Arbitraje
13
31% / 15%
Caducado
12
26%
Libre
Solicitudes similares
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &
Hello, I am looking for a skilled developer to create an Expert Advisor (EA) for MT4. The EA should close an open trade automatically when a Golden or Death Cross occurs in the Alligator Indicator. Please let me know if you have experience with similar projects and how we can discuss the details further
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell

Información sobre el proyecto

Presupuesto
10 - 20 USD
Para el ejecutor
9 - 18 USD
Plazo límite de ejecución
de 1 a 2 día(s)