Bloqueador de ordens de um EAs

MQL4 Indicators Experts

Job finished

Execution time 5 days
Feedback from customer
Excellent Developer
Feedback from employee
Very good custmer! hope for work again.

Specification

Estou utilizando um EA que abre ordens em 3 números mágicos diferentes.

Em cada numero mágico ele pode abrir varias ordens conforme foi estabelecido nos paramentos do EA.

O que eu preciso é: 

 1 - quando for abrir uma nova ordem o EA verifique se já tem ordem aberta nesse número mágico, se tem não faz nada, permite a abertura dessa ordem.

 2 - quando for abrir uma nova ordem e o EA encontrar ordens abertas em outros 2 números mágicos vai verificar se as ordens que já estão abertas estão na mesma direção (compra ou venda), se estão em direção opostas o EA não faz nada, mas se estiverem na mesma direção o EA bloqueia a abertura dessa nova ordem.

 3 - o importante é que quando os 3 números mágicos estiverem com ordens abertas eles não fique na mesma direção. (2 números mágicos com ordens de compra e o outro com ordens de venda) ou (2 com ordens de venda e o outro com ordens de compra)



I'm using an EA that opens up orders in three different magic numbers.

In each magic number, it can open multiple requests as defined in the EA properties.

What I need is:

1 - When opening a new request, EA will check if you already have a request open in this magic number, if it has nothing, allow the request to open.

2 - when opening a new order and EA find open orders in 2 other magic numbers will check if orders that are already open are in the same direction (buying or selling), if they are in another direction opposite EA does nothing, but if they are in the same direction, EA blocks the opening of this new request.

3 - The important thing is that when the 3 magic numbers are with open orders, they do not stay in the same direction. (2 magic numbers with purchase orders and another with sales orders) or (2 with sales orders and another with purchase orders)

Responded

1
Developer 1
Rating
(2430)
Projects
3062
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
2
Developer 2
Rating
(196)
Projects
318
35%
Arbitration
64
13% / 56%
Overdue
82
26%
Free

Project information

Budget
30 - 50 USD
For the developer
27 - 45 USD
Deadline
to 10 day(s)