Breakout-Script Modification

MQL4 Script

Lavoro terminato

Tempo di esecuzione 41 minuti
Feedback del cliente
very fast deliverance of perfect work! thank you very much!

Specifiche

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.

Con risposta

1
Sviluppatore 1
Valutazioni
(8)
Progetti
10
40%
Arbitraggio
7
14% / 86%
In ritardo
4
40%
Gratuito
2
Sviluppatore 2
Valutazioni
(49)
Progetti
134
27%
Arbitraggio
62
13% / 53%
In ritardo
58
43%
Gratuito
Pubblicati: 283 articoli, 1 codice
3
Sviluppatore 3
Valutazioni
(2630)
Progetti
3345
67%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
4
Sviluppatore 4
Valutazioni
(4)
Progetti
7
43%
Arbitraggio
5
0% / 60%
In ritardo
3
43%
Gratuito
Pubblicati: 1 codice
5
Sviluppatore 5
Valutazioni
(34)
Progetti
80
34%
Arbitraggio
13
31% / 54%
In ritardo
19
24%
Gratuito

Informazioni sul progetto

Budget
15 - 20 USD
Scadenze
da 1 a 7 giorno(i)