A MT5 EA with panel that manages open trades

MQL5 Experts Forex

Job finished

Execution time 6 days
Feedback from employee
I give 5 stars Because he made his proposals completely and accurately, and this left the developer out of confusion patient and generous gentleman

Specification

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. 

Responded

1
Developer 1
Rating
(34)
Projects
60
23%
Arbitration
11
73% / 9%
Overdue
3
5%
Free
2
Developer 2
Rating
(63)
Projects
84
26%
Arbitration
23
22% / 48%
Overdue
23
27%
Free
3
Developer 3
Rating
(17)
Projects
22
5%
Arbitration
7
14% / 29%
Overdue
3
14%
Free
4
Developer 4
Rating
(48)
Projects
80
28%
Arbitration
8
75% / 13%
Overdue
41
51%
Free
5
Developer 5
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
6
Developer 6
Rating
(5)
Projects
1
0%
Arbitration
7
0% / 100%
Overdue
0
Free
Similar orders
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for
So i have copier EA. The idea is the EA will triggered through manual OP by user via mobile or whatever platform. Let's say 0.01 lot to trigger it. After the EA takes master's position, the EA will be standby mode. If the master take more OP, the EA still not take the master's position (OP) until the user input manually once again via mobile for another 0.01 lot. Since this is a MT4 EA, Whenever user want to close
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
I need a chart to replicate/track my equity + Balance Curve into my mt4. Also this chart i need to be able to add Stochastic / Bollingerband / Moving average on the equity/balance curve. Besides the equity curve i would like the indicator to show the Line-chart of my win + 1 and my loss -1 which results in a win-loss curve. ( i will discuss this with the choosen developer in depth. ) More information on what i want
Greetings great developer, I am in search of a highly skilled developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Greetings great developer, I am in search of a highly skilled MQL5 developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines

Project information

Budget
30 - 50 USD
VAT (21%): 6.3 - 10.5 USD
Total: 36.3 - 60.5 USD
For the developer
27 - 45 USD