Easy EA Modification

MQL4 Indicateurs Experts

Tâche terminée

Temps d'exécution 5 jours
Commentaires du client
Trabajo entregado a tiempo. Gran programador. Realizo todos mis requerimientos a la primera. Comprendio perfectamente lo que necesitaba. Buena comunicacion.Un 10!

Spécifications

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.



Répondu

1
Développeur 1
Évaluation
(419)
Projets
476
34%
Arbitrage
24
42% / 46%
En retard
6
1%
Occupé
2
Développeur 2
Évaluation
(154)
Projets
257
24%
Arbitrage
12
25% / 8%
En retard
15
6%
Travail
3
Développeur 3
Évaluation
(135)
Projets
163
40%
Arbitrage
11
27% / 73%
En retard
25
15%
Gratuit
4
Développeur 4
Évaluation
(251)
Projets
401
38%
Arbitrage
82
41% / 20%
En retard
70
17%
Chargé

Informations sur le projet

Budget
30 - 60 USD
TVA (21%): 6.3 - 12.6 USD
Total: 36.3 - 72.6 USD
Pour le développeur
27 - 54 USD
Délais
à 7 jour(s)