Breakout-Script Modification

MQL4 Scripts

Job finished

Execution time 41 minutes
Feedback from customer
very fast deliverance of perfect work! thank you very much!

Specification

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.

Responded

1
Developer 1
Rating
(8)
Projects
10
40%
Arbitration
7
14% / 86%
Overdue
4
40%
Free
2
Developer 2
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 283 articles, 1 code
3
Developer 3
Rating
(2630)
Projects
3345
67%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
4
Developer 4
Rating
(4)
Projects
7
43%
Arbitration
5
0% / 60%
Overdue
3
43%
Free
Published: 1 code
5
Developer 5
Rating
(34)
Projects
80
34%
Arbitration
13
31% / 54%
Overdue
19
24%
Free

Project information

Budget
15 - 20 USD
Deadline
from 1 to 7 day(s)