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

MQL4 エキスパート

指定

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


応答済み

1
開発者 1
評価
(7)
プロジェクト
14
21%
仲裁
1
0% / 100%
期限切れ
3
21%
2
開発者 2
評価
(1)
プロジェクト
2
0%
仲裁
1
0% / 100%
期限切れ
0
3
開発者 3
評価
(25)
プロジェクト
29
34%
仲裁
3
67% / 0%
期限切れ
1
3%
4
開発者 4
評価
(36)
プロジェクト
45
2%
仲裁
6
33% / 17%
期限切れ
1
2%
5
開発者 5
評価
(57)
プロジェクト
72
22%
仲裁
13
46% / 15%
期限切れ
5
7%
6
開発者 6
評価
(378)
プロジェクト
401
31%
仲裁
63
19% / 70%
期限切れ
51
13%
取り込み中
7
開発者 7
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
8
開発者 8
評価
(58)
プロジェクト
67
28%
仲裁
5
0% / 60%
期限切れ
2
3%
仕事中
類似した注文
RSI 9 level 90/10 EA Indicators are 1. PSAR with step 0.01 max 0.02 2. Zigzag 3. SwR 1. At the close of candle at 0630 Pacific Standard Time. draw up and down of candles at 0625 and 0630 including the wick 2. Allow a breakout of either trend on up for buy and down for sell 3. Before buy. Ensure PSAR is in the buy position of candles above the PSAR line dot (Allow entry in input for setting) 4. TP1 on *% eg. 60%
I need a gold scalper EA which can trade in real environment. EA should open trades based on candlesticks close. Must have TP, Open SL, and should have DD control settings. If you can do just let me know. I may meed a test to make sure it opens real trades
Good morning. I would like to create HFT bot to trade on Prop Firm without breaking the rules. It should scalp. EA should have SL, TP, BE and even Trail Loss inputs. The EA should also have daily loss and profits target so when met the EA stops for the day
EA improvements 60+ USD
Hi, I want to improve an existing EA Ability to modify the main time frame and indicators settings. I will give you clear specifications and I will send you the source code. Best regards
Basil 50+ USD
thanks alot Very nice concept , but if I want to write a price action indicator with multiple prices (high,low,close,open)which calculates indicator value based on i.e difference of high and low there is a problem of having only one array of data (m_source_data in CIndicator class),is there a way to work around this or do you suggest to modify the CIndicator class and make the m_source_data an array of (mqlRates or
I want to deal in triangular forex arbitrage trading. I want an automated trading robot for the same. It is also expected that the developer advises me about the setting up the operations. I live in India, so he/she must know the ethical way to do it, be it international broker account or whatever. I just need to start this sooner but in the efficient way. The developer is expected to have some experience and should
Alex 30+ USD
//+------------------------------------------------------------------+ //| PriceAction.mq4 | //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "2023" #property link " https://www.mql5.com " #property version "1.00" #property indicator_separate_window #property indicator_buffers 2 #property
**Technical specifications for the improvement of the ProNewsTrader advisor** 1. **Description of the current state of the advisor:** - The **News** advisor automatically trades on financial markets, focusing on news events. - In the current version, news is loaded from external sites that no longer work. - The **Stop Loss**, **Take Profit**, **Trailing Stop** levels and pending orders are implemented virtually. 2
hello here am looking for someone that can assist me in removing validation form my demo file and if anyone is interested dm the for more details i will be waiting to get any reply by some on that can assist me with this
I need an expert to trade Heiken Ashi candles according to the conditions in which Doji candles appear until signs of buying or selling appear, and to enter into trades after the Heiken Ashi candle above, using the scalping method, especially for gold and currency pairs with high liquidity. I have more details for those who want to prepare an expert

プロジェクト情報

予算
30 - 90 USD
開発者用
27 - 81 USD
締め切り
最高 10 日