Fixing an include file for equity protection

Tarea técnica

URGENT

I need someone who changes my include file. It's an equity protection include where the daily balance and equity gets saved. I include it in my EAs and if a trade is for example more than -2% in drawdown then it closes the position. 

My problem is that for every other trade it opens on that day it gets closed immediately in drawdown (because of spread and slippage) because the 2% according to the inputs are already reached. 


Solution
  • The balance and equity should always get checked on a new day and calculate the max drawdown per day on that specific magic number.
  • The include file refers to the magic number of the EA.
  • The indlcude file should have a balance and equity protection for each day AND also a balance and equity protection for each EA

Example current Situation
  • EA 1 has -2% in the inputs and reaches the drawdown with the first trade
  • EA 2 has -3% in the inputs and closes all trades immediately because the -2% of EA 1 are already met
  • EA 3 has -3% in the inputs and closes all trades immediately because the -2% of EA 1 are already me

Example Solution
  • Account Drawdown per each day: 5%
  • EA 1 has -2% in the inputs and reaches the drawdown with the first trade
  • EA 2 has -3% in the inputs and trades are closing in drawdown (5% are reached with EA 1 and EA 2)
  • EA 3 has -3% in the inputs and closes all trades immediately because the -5% of EA 1 and 2 are already met

If EA 2 makes profit then EA 3 still opens trades because the 5% drawdown of the whole day wasn't reached.


I need a fast execution! The include file (260 lines of code) get provided in DM.


Han respondido

1
Desarrollador 1
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabaja
2
Desarrollador 2
Evaluación
(14)
Proyectos
15
67%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(12)
Proyectos
17
35%
Arbitraje
0
Caducado
1
6%
Libre
5
Desarrollador 5
Evaluación
(10)
Proyectos
13
8%
Arbitraje
6
50% / 33%
Caducado
2
15%
Trabajando
6
Desarrollador 6
Evaluación
(16)
Proyectos
18
6%
Arbitraje
1
100% / 0%
Caducado
1
6%
Libre
7
Desarrollador 7
Evaluación
(536)
Proyectos
614
34%
Arbitraje
34
38% / 47%
Caducado
9
1%
Ocupado
Solicitudes similares
simple algo trading bot capable of executing buy when the market is favorable and sell when market is favorable. able to place stop lost and take profit while risking only 0.5% initial deposit and maximum 2%. capable of moving stop lost when market move ups in respect to break even. able to trade Forex, Commodities and crypto both long and short. more specification that respect risk management and lot sizing
Daily Beef Bot 30 - 60 USD
Is it possible to get an EA to work a strategy like this? Take a look at the link in this video. https://youtu.be/or58pNRc70M?si=_KcQKsF3sPi0lLze Uses 2 set times.... The daily candle to determine whether to trade up or down and the 15 minute (or any other candle time to carry out the trade)
Objective: Develop a custom Expert Advisor (EA) for MetaTrader 5 that trades based on a breakout of a specific reference candle. Strategy Rules: Reference Candle Selection: User specifies a candle (e.g., 5-minute candle at 13:30). EA marks the high and low of that candle. Entry Direction: The first subsequent candle whose body (not wick) closes outside the reference candle’s range sets the trading direction for the
apenas uma pessoa que realmente tenha compromisso de fazer o trabalho com qualidade pra desenvolver um EA baseado em uma estrategia e em indicador a pessoa precisara resolver alguns erros no codigo que tenho caso ele nao queira fazer do zero
I have a working EA that fills buy and sell orders with 3 conditions and parameters . I am looking to add another indicator for more accurate fills. Currently using MACD, RSI and STOCH
I would like you to add in the following features ⦁ Marking out CISD ⦁ Marking out OB ⦁ Trend bias shown at corner ⦁ Immediate Rebalance ⦁ Fair Value Gaps ⦁ Previous Candle Levels ⦁ SMT Marking on pair comparison ⦁ Alerts Basically in general to have an indicator as similar to the pro version with the features stated on the website, do not really have to copy exactly the same as it
I need an experienced MQL5 developer to build a fully automated MT5 Expert Advisor based on the ABA V10.6 – TitanX-H Ultra Neural strategy. This EA includes advanced logic, AI-based filters, and strict risk management rules. Please read carefully: Key Requirements: 1. Platform: MetaTrader 5 (MT5). Deliver both compiled .ex5 and full source .mq5 file. 2. Entry Logic: - Entries on 3M timeframe. - SMC structure and
I would like to know which experience and success you reach (live trading) with momentum strategies. Based on volume, volume profile, Distance between 2 SMAs, etc., what worked the best for you? Would like to collaborate on a joint-EA. Let me know and please show me your results (live trading, no backtests)
Title: Need a small MT5 script (Quick task) — $47 Description: I need a small MT5 utility made (details will be shared privately). I am looking for someone reliable and quick. Please message me so we can discuss. NOTE: I am located in India and face issues with adding funds $45 via card. I am happy to pay via UPI/Paytm if someone can help with MQL5 wallet balance
Buyandsell 30+ USD
buyandsell program I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
de 1 a 2 día(s)