Breakout-Script Modification

MQL4 脚本

工作已完成

执行时间41 分钟
客户反馈
very fast deliverance of perfect work! thank you very much!

指定

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.

反馈

1
开发者 1
等级
(8)
项目
10
40%
仲裁
7
14% / 86%
逾期
4
40%
空闲
2
开发者 2
等级
(49)
项目
134
27%
仲裁
62
13% / 53%
逾期
58
43%
空闲
发布者: 283 文章, 1 代码
3
开发者 3
等级
(2630)
项目
3345
67%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
4
开发者 4
等级
(4)
项目
7
43%
仲裁
5
0% / 60%
逾期
3
43%
空闲
发布者: 1 代码
5
开发者 5
等级
(34)
项目
80
34%
仲裁
13
31% / 54%
逾期
19
24%
空闲

项目信息

预算
15 - 20 USD
截止日期
 1  7 天