EA fix and improvement.

MQL4 Experts

Trabalho concluído

Tempo de execução 8 horas
Comentário do desenvolvedor
Good customer, thanks.
Comentário do cliente
Not bad.

Termos de Referência

Hello.

I have an ea that places 2 pending orders - 1 buy stop and 1 sell stop at a certain time.

There are a few things i want changed and fixed:

    - The breakeven doesnt sometimes work :

 04:29:58.331 '168456': order was opened : #32326447 buy stop 4.00 AUDUSD-Pro at 0.93961 sl: 0.93841 tp: 0.94611

04:29:58.331 '168456': pending order sell stop 4.00 AUDUSD-Pro at 0.93763 sl: 0.93883 tp: 0.93113

04:29:58.487 '168456': order was opened : #32326448 sell stop 4.00 AUDUSD-Pro at 0.93763 sl: 0.93883 tp: 0.93113

04:30:04.243 '168456': modify order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 sl: 0.93883 tp: 0.93113 -> sl: 0.93874 tp: 0.93104

04:30:04.415 '168456': order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 was modified -> sl: 0.93874 tp: 0.93104

04:30:05.211 '168456': modify order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 sl: 0.93874 tp: 0.93104 -> sl: 0.93714 tp: 0.93104

04:30:05.398 '168456': order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 was modified -> sl: 0.93714 tp: 0.93104

04:30:05.398 '168456': modify order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 sl: 0.93714 tp: 0.93104 -> sl: 0.93874 tp: 0.93104

04:30:05.554 '168456': order #32326448 sell 4.00 AUDUSD-Pro at 0.93754 was modified -> sl: 0.93874 tp: 0.93104

04:30:15.210 '168456': delete pending order #32326447 buy stop 4.00 AUDUSD-Pro at 0.93961 sl: 0.93841 tp: 0.94611

04:30:15.351 '168456': pending order #32326447 was deleted  

 

 and

11:30:24.138 '168456': modify order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 sl: 1.71004 tp: 1.71674 -> sl: 1.71164 tp: 1.71674

11:30:24.304 '168456': order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 was modified -> sl: 1.71164 tp: 1.71674

11:30:24.304 '168456': modify order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 sl: 1.71164 tp: 1.71674 -> sl: 1.71004 tp: 1.71674

11:30:24.478 '168456': order #32738475 buy 2.30 GBPUSD-Pro at 1.71124 was modified -> sl: 1.71004 tp: 1.71674 

As you can see the sl is set back to the original one, BUT, sometimes it does work properly so I have no idea how this can be explained.

 

      - I want the other opened pending order to be closed immediately when the other is triggered. For example - the buy stop gets hit - the sell stop is deleted.

      - I want the EA to open the opposite trade when the initial stop loss is hit, with the lot size 80% of the order that got stopped, with SL at the stopped out orders open price. For example - EURUSD buy stop gets hit at 1.3000, 10 lots. SL at 1.2990 gets hit, then immediately a sell order is opened, 0.80 lots, SL at 1.3000. This function should have an on/off switch.

      - In the time somewhere between 00:00 - 03:00 the ea's timing and dating gets kinda messed up, I'm adding a screenshot, you'll understand what I mean if you take a closer look at the date and time.

Nothing else of the EA should be changed, there a quite a few modications to it, so I hope that nothing else gets messed up.

I will provide EA when everything is setlled.

          

Arquivos anexados:

PNG
Untitled.png
5.7 Kb

Respondido

1
Desenvolvedor 1
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
2
Desenvolvedor 2
Classificação
(18)
Projetos
21
38%
Arbitragem
17
0% / 88%
Expirado
2
10%
Livre
3
Desenvolvedor 3
Classificação
(466)
Projetos
697
56%
Arbitragem
43
30% / 33%
Expirado
113
16%
Trabalhando
4
Desenvolvedor 4
Classificação
(257)
Projetos
341
58%
Arbitragem
7
14% / 71%
Expirado
9
3%
Livre
Pedidos semelhantes
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of

Informações sobre o projeto

Orçamento
15 - 30 USD
IVA (21%): 3.15 - 6.3 USD
Total: 18.15 - 36.3 USD
Desenvolvedor
13.5 - 27 USD
Prazo
de 1 para 4 dias