EA Modification

MQL4 Asesores Expertos

Tarea técnica

Hello ,

I have an expert advisor for MT4 that works using channels (range trading). It opens a BUY trade after the cross of the lower band , and opens a SELL trade after the cross of the upper band. However it has a problem and needs to be solved. The problem is that once the market sometimes trend , and the trade reaches the Stop Loss , it keeps opening a trade in the opposite direction of the trend , which I do not want. For example ,after the STOP LOSS  is hit on a buy trade , I do not want it to keep opening buy trades  , but instead WAIT for the cross of the UPPER band to open a SELL trade , and the opposite after hitting Stop Loss for a sell trade .

**VERY IMPORTANT : After a BUY trade Stop Loss has been hit , it has to WAIT for the cross of the Upper Band before opening a sell trade. After a SELL trade Stop Loss has been hit, it has to WAIT for the cross of the Lower band before opening a buy trade.

On the visual back test , i noticed that this EA could do much better without this problem.

ALSO, this EA does not do well at all using trending periods. It is only good at ranging periods . I thought about adding AN OPTION of some Moving Average filters in case I wanted to make this EA work successfully on trending markets.

Example : When price crosses upper Band ,open sell only when price/ or channel BELOW the 50 EMA , and When price crosses Lower band ,open buy only when price /or channel is OVER the 50 EMA) . Of course, this should be an OPTION to add to this EA under the ' Filters' options. It should have the feature to turn it on/off. Also we should be able to select the period of the Moving average ( 20 EMA/SMA , 50 EMA/SMA, 100 EMA/SMA etc....) ... and of course we should also be able to use 2 or more Moving averages as filter instead of only one. Maybe choosing more than 1 Moving Average as filter can further improve the results.

ALSO, there should be an OPTION to PAUSE trades after a Stop Loss is hit for 'X' hours. X is the number of hours that will keep the ea from trading. The ea should automatically resume trading once the 'x' number of hours has passed.

So in short , there should be 3 improvements :  1 - Remove the problem of randomly opening new trades once the Stop Loss has been hit.It should WAIT for a new valid signal before opening a new trade.

                                                                    2-  Add a 'FILTER' as OPTION to select 1 or more Moving Averages ,and that is of course if I wanted to use this ea on trending markets.

                                                                    3-  Add a 'PAUSE' as OPTION after Stop Loss is hit

                                                                             

Thank you!

Awaiting for your replies!

Han respondido

1
Desarrollador 1
Evaluación
(595)
Proyectos
927
46%
Arbitraje
31
39% / 29%
Caducado
93
10%
Trabaja
2
Desarrollador 2
Evaluación
(512)
Proyectos
773
63%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
3
Desarrollador 3
Evaluación
(2428)
Proyectos
3057
66%
Arbitraje
77
48% / 14%
Caducado
340
11%
Trabaja
4
Desarrollador 4
Evaluación
(2086)
Proyectos
2646
61%
Arbitraje
113
45% / 26%
Caducado
418
16%
Trabaja
5
Desarrollador 5
Evaluación
(1)
Proyectos
4
0%
Arbitraje
0
Caducado
2
50%
Libre
6
Desarrollador 6
Evaluación
(15)
Proyectos
68
46%
Arbitraje
6
0% / 100%
Caducado
6
9%
Libre
7
Desarrollador 7
Evaluación
(59)
Proyectos
182
55%
Arbitraje
31
45% / 16%
Caducado
103
57%
Libre
8
Desarrollador 8
Evaluación
(62)
Proyectos
140
46%
Arbitraje
19
42% / 16%
Caducado
32
23%
Libre
Solicitudes similares
Hi Developer, I would like to create the Scalping EA based for Mt4 on the investing.com data https://www.investing.com/currencies/eur-usd-technical EA have timing to adjust time to trade. follow the broker time. From starting time to end time EA have a adjustable Lot size (0.01 incremental to 0.01) EA have a adjustable TP (1pip to 100pip incremental 1pip) EA have a adjustable SL (1pip to 100pip incremental 1pip) EA
Here is the Idea: I want a Semi Auto Trade Panel Manager EA that only activates when I press the BUY or SELL or BUY LIMIT or SELL LIMIT then the EA will do the rest : that includes the BUY STOP 0r SELL STOP and the hedging calculations according to below diagram. So overall , my only intervention is entering the lot size , hedge zone distance and TP ratio or entering the price for buy limit/sell limit then pressing
Hi, I'm looking for a martingale MT4 EA that performs a lot of trading volume per day. If you have the robot, you'll need to send me the demo so I can backtest it. Thank you very much
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
Hi guys I would like to k ow if someone has experience with machine learning models? I would like to train a model to identify if there is a range market or trendy market based on several parameters like EMA and ATR for example. If we use for example a 20 and 50 EMA and we measure the distance between both lines the algo should oearn if the trend is strong or weak. If it‘s steong it keeps trending and if it‘s weak
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
we want to build a dashboard ea that would display on another chart key metrics : i will foward screeshot of what i want to dashboard to look like : the function i would need to get display are the following: 1. classified past performance ea by magic number ( with classic : total trade , total profit , return/dd , max dd (base on history) , ) 2. equity chart of performance if we click on a magic number we should
the task will be actually quiet simple , i need an active develloper to devellope out of 3 updates an ea STEP 1 (this job): make a classical pair trading ea , that can calculate correlation between assets and trade when the correlation diverge above a specified % the develloper that will postulate for the job will need : 1- to be ok to do the full project this job and the update following 2- very low arbitration , i
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor the 2 lines in the below pictures and then start to activate bids once they cross each other and then be able to manage all bids afterwards towards the direction of the market by opening and closing them intermittently and profitably until the position at the other
Hi man, How are u? I have an EA and I need to check few aspects of the code, if It works fine? I am looking for an expert coder, who can understand mt4 language and help us to solve this out. This job will hardly take about 3-4 hours max for an experienced coder, when explained detail. Also, I would like to give this to someone, who can understand and speak English well. Also, the coder should be able to come via

Información sobre el proyecto

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