Breakout-Script Modification

MQL4 Scripts

Trabalho concluído

Tempo de execução 41 minutos
Comentário do cliente
very fast deliverance of perfect work! thank you very much!

Termos de Referência

Hi,

i need two small modifications to be done to a Breakout-Script.

its attached to this post.

The script reads out Information from the London Breakout Indikator (also attached).
I modified the script successfully and created a version to set only long orders and another to set only short orders.
If i want to go long i drag and drop the buy-script to the chart and if i want to go short i drag and drop the sell-script to the chart, then
click OK and my trade is set (screenshot attached).

so far so good.
what i need is a modification of the long-and-short-scripts which calculates and sets the position-size in dependence of my current account balance, risk %
and the distance between the entry-buy and entry-sell line (see picture).

i have the formula to calculate the position size manually but thats to slow. i need the correct position size to be set by the script instead of entering
it manually.

also pending orders that are not activated until a certain time should be canceled. (Option to set Expiry-Time).

template as i use it + acreenshot attached.

detailed screenshot + formula after Agreement.


thnx a lot,
hopefully, fx723.

Respondido

1
Desenvolvedor 1
Classificação
(8)
Projetos
10
40%
Arbitragem
7
14% / 86%
Expirado
4
40%
Livre
2
Desenvolvedor 2
Classificação
(49)
Projetos
134
27%
Arbitragem
62
13% / 53%
Expirado
58
43%
Livre
Publicou: 283 artigos, 1 código
3
Desenvolvedor 3
Classificação
(2630)
Projetos
3345
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(4)
Projetos
7
43%
Arbitragem
5
0% / 60%
Expirado
3
43%
Livre
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(34)
Projetos
80
34%
Arbitragem
13
31% / 54%
Expirado
19
24%
Livre

Informações sobre o projeto

Orçamento
15 - 20 USD
Prazo
de 1 para 7 dias