Работа завершена
Техническое задание
Hi,
Would like to have an EA to manage my order in Mt5 plattaform Hedge enable account.
# Each chart should be treated individually.
1 - Option to choose 1 , 2 or 3 Levels of Partial and volume as well:
For example:
It means, trade will be initiated as pending order or by market.
When we get the order executed Volume 0.10 and we have 1 level set to partial, 50 points and volume 0.05.
EA will make the partial when we get take profit 50points - EA will close 0.05 . Initial order will remain with 0.05
Ex 2 - if we had set 2 levels of partial with 50 points and vol 0.02 and level 2, 80 points and volume 0.05 .. So, order initiated with 0.10, when achieve 50 points of take profit will close 0.02 and after 80points from start price , will close more 0.05 .. Order will remain with 0.03 opened.
Regarding the Stop Loss:
1 - Stop loss will be set in points .
Order being initiated by pending order or by market, EA will reconigze the order opened and set a stop loss - in points.
2 - After first partial be executed, stop loss will move to X points of start price (to be set)
3 - If we have more levels of partial, we can set the stop loss according partial execution.
Example:
1 - Order executed Volume 0.10 and we have 1 level set to partial, 50 points and volume 0.05.
Order executed, EA will set stop loss set initially... in points.It applies for all first orders. For example: 100 points.
And we have the option to set up the Stop loss after partial = For example = 50 points.
After first partial, when we get take profit 50points - EA will close 0.05 . Initial order will remain with 0.05 and the STop loss will be moved to 50 points behind start, initial price.
Let´s say that we have 2 levels of partial. ..and stop loss for 2 partial set 80 points.
After 2 partial be executed, stop will be move more 80 points more 80 points. Thereby, it will be placed 30 points above (positive) from start price.
Let me know if you need more details.
Source code should be provided.