Breakout-Script Modification

MQL4 Sripts

Trabajo finalizado

Plazo de ejecución 41 minutos
Comentario del Cliente
very fast deliverance of perfect work! thank you very much!

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(8)
Proyectos
10
40%
Arbitraje
7
14% / 86%
Caducado
4
40%
Libre
2
Desarrollador 2
Evaluación
(49)
Proyectos
134
27%
Arbitraje
62
13% / 53%
Caducado
58
43%
Libre
Ha publicado: 283 artículos, 1 ejemplo
3
Desarrollador 3
Evaluación
(2630)
Proyectos
3345
67%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
4
Desarrollador 4
Evaluación
(4)
Proyectos
7
43%
Arbitraje
5
0% / 60%
Caducado
3
43%
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(34)
Proyectos
80
34%
Arbitraje
13
31% / 54%
Caducado
19
24%
Libre

Información sobre el proyecto

Presupuesto
15 - 20 USD
Plazo límite de ejecución
de 1 a 7 día(s)