Breakout-Script Modification

MQL4 Scripts

Tâche terminée

Temps d'exécution 41 minutes
Commentaires du client
very fast deliverance of perfect work! thank you very much!

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(8)
Projets
10
40%
Arbitrage
7
14% / 86%
En retard
4
40%
Gratuit
2
Développeur 2
Évaluation
(49)
Projets
134
27%
Arbitrage
62
13% / 53%
En retard
58
43%
Gratuit
Publié : 283 articles, 1 code
3
Développeur 3
Évaluation
(2630)
Projets
3345
67%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
4
Développeur 4
Évaluation
(4)
Projets
7
43%
Arbitrage
5
0% / 60%
En retard
3
43%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(34)
Projets
80
34%
Arbitrage
13
31% / 54%
En retard
19
24%
Gratuit

Informations sur le projet

Budget
15 - 20 USD
Délais
de 1 à 7 jour(s)