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
等级
(390)
项目
416
30%
仲裁
74
19% / 70%
逾期
52
13%
工作中
7
开发者 7
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(69)
项目
79
29%
仲裁
8
13% / 63%
逾期
4
5%
空闲
相似订单
I am looking for an experienced MQL5 developer to help build and support an automated trade execution system that connects TradingView custom indicator alerts to an Exness MT5 account. The role involves receiving TradingView webhook signals containing Buy/Sell direction and dynamically calculated lot size, processing them via a Python-based webhook listener, and executing market orders on MT5 running on a 24/7
I am looking for an EA for scalping XAUUSD, with short TP and SL in the range of 30-50 pips (equivalent to 3-5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion. I will paper test it first before making the purchase
A fairly simple bot, which you will have probably made most of this 100 times before, the only slight difference is the stop loss close logic, I want a hard stop, that will be logged at the brokers side as a fail safe, but then a soft stop, that only closes the trade if the candle closes beyond the soft stop price, based on the time frame I specify. (this avoids trades being stopped out by wicks). Any additional
Hi, I have four trading strategy's that work on tradingview. But these scripts i have are having problems being translated into ACSIL for Sierra Charts. I have being using AI to translate the scripts, but keep hitting a road block. The scripts load on the charts, but without any data being logged. I hope you can help, I just want to confirm the positive results on tradingview are no fluke and are correct on Sierra
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ #property strict // Inputs input int EMA_Fast = 9; input int EMA_Slow = 21; input int RSI_Period = 14; input double Lots = 0.1; input int StopLoss = 20; // وقف خسارة (بـ نقاط) input int TakeProfit = 40; // هدف (بـ نقاط)
Menga faqat XAUUSD uchun maxsus MT5 ekspert maslahatchisi kerak . MUDDAT VA DAVOMI EA M5 vaqt oralig'ida ishlaydi Faqat bitta savdo kuni mantig'i KUNDALIK ZONA MANTIQI Har bir yangi savdo kunining boshida EA FAQAT birinchi yopilgan 5 daqiqalik shamni olishi kerak . Ushbu shamning eng yuqori va eng past nuqtalari o'zgarmas qo'llab-quvvatlash/qarshilik zonasini hosil qiladi . Bu zona kun davomida siljimasligi, qayta
Lo oking for an expert that manages other expert s according to market condition and equity curve , including : Turn ON/OFF experts in certain market conditions(indicator based), equity reach certian level , close all orders and restart ea again. Main chart with basic account statistic information needed, including status information of each experts Experts must be separated to more than 2 groups, each group of
Need a EA developer in conversion's I have a MT4 EA but I need it to be converted and to work in MT5 Nothing has to be removed Nothing has to be added Simply Make sure that when a copy is made in MT5 that the EA works the exact same way as it works in MT4 Its not a hard EA, AI can do this around %90 but there is a few lines in MT5 that AI do not understand and I have 0 coding skills NOT A
I have the Strategy and full spec any developer can run test to confirm. I need a developer to code it Claude AI has never given a score 11/10. "4.4 PROFIT FACTOR EA - CLAUDE AI CERTIFIED Scorpio Sniper Elite v1.4 - COMPLETE production spec ready: • 60% win rate | $100-190 daily expectancy • 50yr Monte Carlo validated • CLAUDE AI robustness certified [ATTACH ONLY: YOUR 11/10 CERTIFICATE

项目信息

预算
30 - 90 USD
截止日期
 10 天