Job finished
Specification
Hello, I'm looking for someone who can build a small EA in MQL4 for me.
Here is the specification:
Inputs:
- Max Risk %
- TP %
Max Risk % based on Account Balance: The EA should calculate depending on all open positions at which price my Max Risk in % based on Account balance is reached and put a Red Horizontal Line at that price point. It should be able to calculate the price even when there are multiple open positions on that pair, e.g. 2 Lot Long and 0.6 Lot Short from different entry prices.
When multiple orders are openend (long and short) it should calculate the price of which the accounts hit a 2% drawdown and puts the SL line there. For this you need to take each entry price into consideration, get the pip value for each position and put the line where all positions combine reach a loss of 2% in the account. Same for the Take profit %.
Take Profit % based on Account Balance: The EA should calculate depending on all open positions at which price the TP in % is reached. It should be able to calcualte the TP Price even with multiple open positions (long and short at the same time and from different entry prices) and put a Green Horizontal Line at that price.
The calculation of Red and Green line should work even if multiple positions at different entry prices are open and the open positions are long and short.
I have an EA which does this already, but it's not calculating correctly sometimes, you can start with this and fix the errors.