A MT5 EA with panel that manages open trades

MQL5 Эксперты Forex

Работа завершена

Время выполнения 6 дней
Отзыв от исполнителя
I give 5 stars Because he made his proposals completely and accurately, and this left the developer out of confusion patient and generous gentleman

Техническое задание

Hello devs,

I need an EA that manages my open trades and has a panel to change the values of the rules.


The EA needs the following rules:

  • every trade that goes 20% in profit needs its SL moved 50% towards entry.
  • Every trade that goes 50% in profit needs its SL moved to 1% profit.
  • Every trade that goes 60% in profit needs to partial close 50%.


Example:

I take a buy order on EURUSD at 1.2000 with a lot size of 10. I set SL at 1.9500 and TP at 1.3000. When the trade goes in profit and price touches 1.2200, SL needs to be moved to 1.9750. Why?

1.2200 is 20% in profit. 

How? 

1.3000 - 1.2000 = 0.1000

0.1000 * 0.2 + 1.2000 = 1.2200


Why SL to 1.9750?

1.2000 - 1.9500 = 0.05

0.05 * 0.5 + 1.9500 = 1.9750


Next the trade goes 50% in profit (price touches 1.2500). Now SL needs to go 1% in profit (SL to 1.2100).

After that, price touches 1.2600, this is 60% in profit. Now the trade has to be closed for 50%, so 10 * 0.5 = 5 lots.


In a sell order it would be exactly the same calculations.

I take a sell order on GBPUSD at 1.5000 with a lot size of 8. SL is at 1.5600 and TP at 1.4200.

When trade goes 20% in profit, aka price touches 1.4840.

(1.4200 - 1.5000) * 0.2 + 1.5000 = 1.4840

Now SL needs to go 50% towards entry, aka SL to 1.5300.

(1.5000 - 1.5600) * 0.5 + 1.5600 = 1.5300

And so on…


Formula to calculate price at a certain percentage in profit:


TP = Take Profit price

EN = Entry Price

P = percentage in profit


(TP - EN) * P + EN = Price


Formula to calculate price at half SL:


SL = Stop Loss Price

EN = Entry price


(EN - SL) * 0.5 + SL = price


When I’ve manually entered a trade, the EA has to immediately calculate all the price points where a change is needed and save them. Now the EA only has to be in a while loop and check if a certain price is touched where a certain change is needed.


Every function in the code needs a description about what it does and its inputs and outputs. No DLLs


The EA may not open positions. It only may adjust manually entered trades. 

Откликнулись

1
Разработчик 1
Оценка
(34)
Проекты
60
23%
Арбитраж
11
73% / 9%
Просрочено
3
5%
Свободен
2
Разработчик 2
Оценка
(63)
Проекты
84
26%
Арбитраж
23
22% / 48%
Просрочено
23
27%
Свободен
3
Разработчик 3
Оценка
(17)
Проекты
22
5%
Арбитраж
7
14% / 29%
Просрочено
3
14%
Свободен
4
Разработчик 4
Оценка
(48)
Проекты
80
28%
Арбитраж
8
75% / 13%
Просрочено
41
51%
Свободен
5
Разработчик 5
Оценка
(96)
Проекты
143
76%
Арбитраж
0
Просрочено
2
1%
Свободен
6
Разработчик 6
Оценка
(5)
Проекты
1
0%
Арбитраж
7
0% / 100%
Просрочено
0
Свободен
Похожие заказы
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
Hello, I‘m interested in an indicator to predict the next candles probability (bullish or bearish). But honestly I have no idea how to do this. Would be interested in your opinion how we can create such an indicator. Please let me know if you‘ve done similar work
Profitable EA HFT 50 - 300 USD
From a long time i am searching for a profitable EA i have lost a lot , and now i have only 300$ to buy a profitable EA , i wish to say with 0 losses but some or most traders they don't want to hear this i am really tired of searching for a programmer to just create me a profitable EA with the least losses or zero losses maybe nearly 1 year i am searching i just need an HFT EA that can work very well on MT4,MT5
у нас есть стратегия, нам нужно написать mql5-код ​​для тестера стратегий МТ5,Цена договорная. Мой контакт @abbosaliyev из Telegram Программист должен знать РУССКИЙ ИЛИ УЗБЕКСКИЙ язык. Задание: разработать тестер, который использует шаблон условий на открытие и проверит весь исторический график на всех доступных таймфреймах. Остальная информация будет предоставлена ​​после согласования цены
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details
Hello there! I have a ATAS bot that would be discussed properly with you once you bid to this project, But majorly what i need is either: An update to my bot that allows it to watch one chart and trade on another within ATAS. Or an add on of some kind that allows it to watch one ATAS chart and then communicate with a bot that can execute trades in MT4/5. Bid now for more proper details

Информация о проекте

Бюджет
30 - 50 USD
VAT (21%): 6.3 - 10.5 USD
Итого: 36.3 - 60.5 USD
Исполнителю
27 - 45 USD