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 일