Please help me with EA MT5 code

  • Thread starter Thread starter VuNam
  • Start date Start date
  • Watchers Watchers 3

VuNam

Trader
Mar 19, 2024
1
0
17
34
Hi everybody.
This is my first post, I wish everyone a happy and energetic day.

I need an EA in MT5 that can help me handle this task. Due to limited coding knowledge, I don't know how to write code.
Specifically:
1. EA applies to all currency pairs with open orders.
2. I call the ratio between profit and loss RR:
+ If the price moves within a range of RR=a (for example a =1), then close b% (for example b= 50%) of the order volume. The remaining part will have the option to drag Stoploss to Entry.

(a and b I want to be customizable)
The "Stoploss on Entry" option I want can be customized to be turned on and off.

I look forward to receiving help from admins and traders
Many thanks.
 
I don't think anyone will be coding an EA for you. At best we can help you with some advice or answer a coding related question. However, right now, it's not entirely clear what you want your EA to be doing. How is the "ratio between profit and loss" calculated? For example, you have one EUR/USD trade that is at -100 USD floating loss and a USD/JPY trade that is at -50 USD floating loss. What is the current RR?