Easy EA Modification

MQL4 指标 专家

工作已完成

执行时间5 天
客户反馈
Trabajo entregado a tiempo. Gran programador. Realizo todos mis requerimientos a la primera. Comprendio perfectamente lo que necesitaba. Buena comunicacion.Un 10!

指定

I need the following modifications to be included in an existent Expert Advisor (I will provide source code):

When an open order loses a certain number (n) of pips, it will open another order in the same direction and keep both orders open until there is a profit equal to the initial Take Profit of the first order. A new order will be opened each time the price moves away by another (n) pips. This number (n) of pips will be determined by the parameter INITIA_Interval.

Example: INITIA_Interval= 100 Sell Order; Initial Value: 1750. TAKE PROFIT=25 It would open a new order when the price reaches 1850, and if the price continues to move away, another order at 1950, another at 2050... ALL ORDERS WILL REMAIN OPEN UNTIL THERE IS A PROFIT OF 25 PIPS AMONG ALL THE ORDERS OPENED SINCE THE INITIAL ORDER. ONCE THESE 25 PIPS OF PROFIT ARE ACHIEVED, ALL GENERATED ORDERS AND THE INITIAL ONE WILL BE CLOSED.

Additionally, two parameters to adapt the above according to the market situation:

INITIA_Interval_Modifier: which will be a number to multiply the INITIA_Interval parameter so that each new order moves further away or closer in price. If this value is less than 1, each new order will be executed with a smaller difference than the previous order, and if it is greater than 1, with a greater difference.

Example: Continuing with the previous example; INITIA_Interval= 100 Sell Order; Initial Value: 1750. TAKE PROFIT=25 INITIA_Interval_Modifier: 1.5

The first order would open when the price reaches 1850 (INITIA_Interval), the second at 2000 (100(INITIA_Interval)*1.5(INITIA_Interval_Modifier))=150+1850=2000, the third at 2225 (150*1.5)=225+2000=2225... And so on. The previous interval calculated for the previous order is always multiplied by INITIA_Interval_Modifier. A value of 1 logically will not modify the value of INITIA_Interval.

INITIA_Size_Multiplier: A number by which the initial order size will be increased.

For example, if INITIA_Size_Multiplier=1, and the initial order size is 0.01 lots, all orders that are opened from this point onwards will have a size of 0.01 lots. If INITIA_Size_Multiplier=2 and the initial order is 0.01 lots, the next one created will be 0.02 lots (0.01*2), the one after that will be 0.04 lots (0.02*2),

In summary, it involves adding the functionality to open new orders and control the profit/loss of that group of orders, and two parameters to modify when and at what size the orders will be executed.

I have tried to explain it as clearly as possible, which is why the text is so long, but the task is straightforward.

Any questions you may have, please feel free to raise them before accepting the job.

PS: This treatment should be applied to all orders opened by the EA that are in a losing position as specified.



反馈

1
开发者 1
等级
(422)
项目
479
33%
仲裁
24
42% / 46%
逾期
6
1%
繁忙
2
开发者 2
等级
(154)
项目
257
24%
仲裁
12
25% / 8%
逾期
15
6%
工作中
3
开发者 3
等级
(135)
项目
163
40%
仲裁
11
27% / 73%
逾期
25
15%
空闲
4
开发者 4
等级
(251)
项目
402
38%
仲裁
82
41% / 20%
逾期
70
17%
工作中

项目信息

预算
30 - 60 USD
VAT (21%): 6.3 - 12.6 USD
总计: 36.3 - 72.6 USD
开发人员
27 - 54 USD
截止日期
 7 天