An expanding Hedging EA - Phase 1

MQL4 Experts Scripts

Trabalho concluído

Tempo de execução 1 dia
Comentário do desenvolvedor
Nice to work, Thank you.

Termos de Referência

Hello Programmers


I am looking for someone to help me create an Expert Advisor (or Script, not sure which one) to run on my MetaTrader 4 platform with ETX.


The idea of the Expert Advisor is that once triggered on any pair, it will do the following:


1. 4 sell stop and 4 buy stop orders will be placed in both directions

2. The distance between each order is equal to 6 times the spread of that pair (this needs to be adjustable)

3. The first buy stop and the first sell stop are placed 3 spreads away from the current price (again this needs to be adjustable) - which means they too will be 6 spreads apart

4. The lot sizes incrementally increase with the closest orders having the smaller size lots and the further orders have the larger size lots

5. The lot sizes incremental increase needs to be based on the Fibonacci sequence starting with mico lots of 0.01, then 0.01, then 0.02, then 0.03 (but you should be able to apply a factor to multiply the size of the lots)

6. The Take Profits for the orders in the same direction should be 6 spreads after the last position in the same direction

7. The stop loss for the orders in the same direction should be 7 spreads after the last positron in the opposite direction

8. When the first order is triggered in either direction, a new order is to be placed in the opposite direction, placed 6 spreads after the last position in the opposite direction of what was triggered, with the relevant Fibonacci incremental lot size. All Take Profits and Stop Losses will need to be adjusted to take into account this newly added position

9. If a second order is triggered in the same direction - then do nothing

10. If a third order is triggered in the same direction, then two new orders are to be placed in the opposite direction, placed 6 spreads and 12 spreads after the last position in the opposite direction of what was triggered, with the relevant Fibonacci incremental lot size. All Take Profits and Stop Losses will need to be adjusted to take into account this newly added position

11. If a fourth order is triggered in the same direction, then repeat step 8

12. If a fifth order is triggered in the same direction, then repeat step 8

12. If a sixth order is triggered in the same direction, then repeat step 8

etc.

13. Once a take profit/stop loss is hit, all other orders that have not been triggered need to be cleared,

14. A new set of 4 buy orders and 4 sell orders are opened again immediately - i.e. go to step 1.


Please refer to the attachment as a demonstration of the initial set up.  As stated above, new orders will be placed as the price action moves in either direction.


This is the phase 1 development, as I will require to add more to this Expert Advisor once I have this initial phase tested.


I am therefore looking for someone to build a good relationship with, so that I can pass on all the future work that I require.


I look forward to a prompt response on the best possible price and the duration to programme the above.  I can provide further description as necessary.  All IP to this strategy will reside with me.


Regards


Eyad



Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(1929)
Projetos
3550
88%
Arbitragem
73
40% / 15%
Expirado
268
8%
Trabalhando
2
Desenvolvedor 2
Classificação
(52)
Projetos
133
44%
Arbitragem
14
50% / 29%
Expirado
55
41%
Livre
3
Desenvolvedor 3
Classificação
(647)
Projetos
1295
67%
Arbitragem
84
26% / 49%
Expirado
338
26%
Livre
4
Desenvolvedor 4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
5
Desenvolvedor 5
Classificação
(40)
Projetos
58
22%
Arbitragem
10
10% / 70%
Expirado
13
22%
Livre
6
Desenvolvedor 6
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre

Informações sobre o projeto

Orçamento