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

MQL4 Asesores Expertos

Tarea técnica

Hi,


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



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. 
Let's 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!
Sam


Han respondido

1
Desarrollador 1
Evaluación
(7)
Proyectos
14
21%
Arbitraje
1
0% / 100%
Caducado
3
21%
Libre
2
Desarrollador 2
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(25)
Proyectos
29
34%
Arbitraje
3
67% / 0%
Caducado
1
3%
Libre
4
Desarrollador 4
Evaluación
(36)
Proyectos
45
2%
Arbitraje
6
33% / 17%
Caducado
1
2%
Libre
5
Desarrollador 5
Evaluación
(57)
Proyectos
72
22%
Arbitraje
13
46% / 15%
Caducado
5
7%
Libre
6
Desarrollador 6
Evaluación
(373)
Proyectos
395
31%
Arbitraje
61
20% / 67%
Caducado
48
12%
Trabajando
7
Desarrollador 7
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(54)
Proyectos
62
31%
Arbitraje
4
0% / 50%
Caducado
1
2%
Libre
Solicitudes similares
Create Order Block Indictor same as the indicator i attached. 1. Buy and Sell order block with arrow 2. indicator must not repaint 3. indicator must have setting to manage order block. Order must appear in the same places as our order block indicator.... if you have workable send to me let test it
Hello, you can work with me for sure, but here's to work with an experience coder who already know the concept of xBest EA, I think if I am opportune to discuss my trading needs with him or her that already knows how xBest strategy work, that will make the process more faster and saved me from time waster, because if you know how xBest EA works as a coder, that mean you are the best fit for my project, I have this EA
i am currently in need of a multi currency EA.i want the EA to be able to read data from different symbols whenever a trade occur on that symbol,the EA will be able to read the direction of the trade and the profit or loss of that particular pair and display it on my panel.the EA must be able to to combine all the trades that were taken from different symbols and display it on the panel,if you are capable of such it
I have an EA which i got from a friend of mine and it is a fantastic tool i use to trade the markets. It's fully automatic opens, closes trades etc. My only issue is that to run strategy testing and optimizations MT4 is so frkn slow! MT5 is leaps and bounds better for testing so would like to literally convert this EA from MT4 installable exe to MT5 installable exe so i can run it on MT5. Obviously i do not have the
Modification 30+ USD
dear developers.i want to modify my custom indicator by adding new rules for alerts and arrows,the previous alerts and rules for alerts will be removed and new rules will apply.what i want is simple and straight forward...thank you
Hello, you can work with me for sure, but here's to work with an experience coder who already know the concept of xBest EA, I think if I am opportune to discuss my trading needs with him or her that already knows how xBest strategy work, that will make the process more faster and saved me from time waster, because if you know how xBest EA works as a coder, that mean you are the best fit for my project, I have this EA
I would like to make a simple EA. INDICATOR FOR ENTRY I have an indicator signal for Buy and Sell Multiple Entry True/False Maximum Open Order ____ Risk Percentage ___ FILTER 50 MA our Filter for Buying and Selling. EXITS TP and SL, Trail Stop, MACD Exit FILTER FEATURE I am looking for: Can you make a condition that the EA wont enter on consolidation or sideways movement- not uptrend or downtrend
I am seeking an experienced and proficient MQL5 developer to collaborate on an exciting project involving the enhancement of an existing EA, specifically an elaborate version of xBest v3.47. The xBest v3.47 EA is publicly available and serves as the foundation for our project. The goal is to incorporate a series of compelling features into the existing EA, leveraging its grid/hedging strategy while introducing
Hello, I am looking for someone that can build me an EA preferably expanding on an existing code you probably know as the xBest Ea series. I have the source code and detailed list of everything that needs to be coded in ready to go. please let's discuss more better on my strategy
PROP FIRM EA 4500 - 7000 USD
Hi, i need a Expert Advisor, that can pass prop firm Challenges. A bit of martingale is OK (max. 8 levels) Profit 10% Max Drawdown (DD) 10% Max Daily Loss 4% All trades with SL NO trades during and after high impact news NO trades during Weekend Profitable backtest from eentire history Trades Forex (If you already have a finished EA, send me the BACKTEST I will only ENTERTAIN people with sample ea from previous

Información sobre el proyecto

Presupuesto
30 - 90 USD
Para el ejecutor
27 - 81 USD
Plazo límite de ejecución
a 10 día(s)