Equity Protector EA for Prop Firms such as MyForexFunds (Need a MT5 and MT4 version)

MQL5 Experts

Job finished

Execution time 18 days
Feedback from customer
Would highly recommend working with Usam. He produced very high quality work and went above and beyond. I will definitely be working with Usam in the future. Thank you friend!
Feedback from employee
professional in communication and very fast in testing and accept the work

Specification

Hi,

I'm looking to create an equity protector to use with prop firms such as MyForexFunds


The settings of the EA will be as follows.

Settings: 

Max daily loss of equity in % (if set to 0 then setting not used)  = x%
Max daily loss of balance in % (if set to 0 then setting not used)  = x%

Minimum equity  = x
Target profit in equity = x
Reset time = xx:xx

The display on the chart will be as follows.

Settings used: 
max daily of equity = x%
max daily loss of balance = x%
Minimum equity = x
Target profit in equity = x
Reset time = x 

Today's P/L = xx
Today's max daily loss of equity remaining = xx

Today's max daily loss of balance remaining = xx
Amount remaining until minimum equity is hit = xxx


Here is an example of how the EA will function.
Initial balance of account at 00:00 is $100,000.
Initial equity of account at 00:00 is $100,000.
I have started the trading day with $100,000 balance and $0 floating loss. 
Lets assume the time is now 06:00. I have taken a number of trades which ended in a close loss of $5,000. Currently my total closed loss is $5,000. I also have an open position in a $1,000 loss. Therefore my current balance at 06:00 is $95,000 and my current equity at 06:00 is $94,000. 

In this example, my settings are set to:       
Max daily loss of equity in % (if set to 0 then setting not used)  = 10%
When my equity hits or falls below $90,000 then the equity protector will close all trades and close all charts (preventing my EA from taking further trades).  Any pending orders will also be removed. 
Max daily loss of balance in % (if set to 0 then setting not used)  = 15%
When my balance hits or falls below $85,000 then the equity protector will close all trades and close all charts (preventing my EA from taking further trades).  Any pending orders will also be removed. 
Minimum equity  = $80,000
If my equity hits or falls below $80,000 then  the equity protector will close all trades and close all charts (preventing my EA from taking further trades). Any pending orders will also be removed. 
Target profit in equity = $110,000
If my equity hits or goes above $110,000 then the equity protector will close all trades and close all charts (preventing my EA from taking further trades).  Any pending orders will also be removed. 

Reset time = 00:00 
At 00:00 server time (the time displayed in my MT5 terminal) the max daily loss of equity and max daily loss of balance will be recalculated based on the CURRENT equity and balance at 00:00. This will recalculate and reset once every 24 hours. 

For example at 00:00, lets say the account equity is $120,000 and the balance is $130,000. 

The max daily loss of equity will be calculated based on 10% x $120,000 = $12,000
The max daily loss of balance will be calculated based on 15% x $130,000 = $19,500 

There are 2 separate losses the EA will track one for equity and another for balance. 


Using the above example settings, there will be a display on chart which will show the below: 

Settings used: 
max daily loss of equity = 10% ($10,000)
max daily loss of balance = 15% ($15,000)
Minimum equity = $80,000
Target profit in equity = $110,000
Reset time = 00:00

Today's P/L = -$5,000 
This will record my P/L from the reset time i've set at 00:00 

Today's max daily loss of equity remaining = $4,000
This will show the remaining equity I can afford to lose before I hit my maximum equity loss for the day. In my example, the time is 0:600 and my current equity is $94,000, therefore this value will show $4,000 since $94,000 - $90,000 = $4,000. 

Today's max daily loss of balance remaining = $10,000

This will show the remaining balance I can afford to lose before I hit my maximum balance loss for the day. In my example, the time is 06:00 and my current balance is $95,000, therefore this value will show $10,000 since $95,000 - $80,000 = $15,000. 

Amount remaining until minimum equity is hit = $14,000 

This value is calculated by taking the current equity - the "minimum equity" allowed. $94,000 - $80,000 = $14,000


Please let me know if it is possible for the losses recorded in the EA to be inclusive of the brokers swaps and commissions? it would be great if it could include swaps and commissions but I don't think this functionality is currently possible?


Please feel free to ask me any questions you need. 

Thank you!
Jeremy








































































































































































Responded

1
Developer 1
Rating
(42)
Projects
62
8%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
2
Developer 2
Rating
(180)
Projects
301
30%
Arbitration
54
24% / 56%
Overdue
98
33%
Free
3
Developer 3
Rating
(184)
Projects
302
15%
Arbitration
20
40% / 35%
Overdue
15
5%
Busy
4
Developer 4
Rating
(22)
Projects
23
39%
Arbitration
0
Overdue
1
4%
Free
5
Developer 5
Rating
(64)
Projects
93
37%
Arbitration
11
27% / 45%
Overdue
14
15%
Free
6
Developer 6
Rating
(137)
Projects
160
23%
Arbitration
7
0% / 43%
Overdue
4
3%
Loaded
7
Developer 7
Rating
(165)
Projects
167
78%
Arbitration
2
100% / 0%
Overdue
0
Free
8
Developer 8
Rating
(475)
Projects
504
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
9
Developer 9
Rating
(66)
Projects
143
34%
Arbitration
10
10% / 60%
Overdue
26
18%
Free
Similar orders
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
Seeking an experienced MQL5 developer to create a sophisticated Expert Advisor focused on harmonic pattern trading . The EA will be designed to identify and trade based on popular harmonic patterns in the forex market. Entry and Exit Logic: Develop smart entry and exit rules based on pattern completions and price action confirmations. Risk Management: Incorporate adjustable risk-per-trade settings and position sizing
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
Description - An expert advisor(s), placing sell trades in EUR/USD, based on the close price of the previous two candles, as shown in the figure below. The trades would be made in the 5 minute, 1 hour, and 1 day timeframes. In the 5 minute and 1 hour timeframes the market orders would be placed at the start of a new candle, at specific times EST. The order would be cancelled at the close of that candle, i.e after 5
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
Develop a simple trading robot from rainbow oscillator Additional features Include timeframe specification in rainbow oscillator trailing features moving average filter TP (true/false) SL (true/false) Fixed lot Risk percentage Percentage profit lock
Hi, I have an indicator from my friend, I want to copy it to my own Traidingview or MT5 can you do that for me. Here is the link
I need a dashboard that shows my various accounts that shows balance, equity, number of trades open, drawdown and some more information. I want to use it to monitor my accounts in one screen or chart. If there is anyone who can do it please show me the screenshot of your sample
Hi, I need a robot, which wil get instructions to trade in 3 symbols at the same time based on few parameters and calculations. Example: There is 1 symbol called Gold-Near and the rate for it is 1000-1002 If i specify that when the rate reaches 1050, it should sell 1 lot Upon execution it will have to sell 1 lot of cme gold, buy 3 lots of mcx gold and buy currently (lots will be based on calculation). All the
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

Project information

Budget
30 - 100 USD
For the developer
27 - 90 USD
Deadline
to 7 day(s)