MT5 Backtesting EA (Include Source code)

MQL5 Asesores Expertos

Tarea técnica

1. CSV File Creation:
The EA should generate a CSV file containing data for multiple currency pairs. The CSV file must include the following columns:
Currency Pair (e.g., EURUSD)
CLOSE
OPEN
HIGH
LOW
VOLUME
TIME
  The specific currency pairs should be input by the user through the EA settings.

2. Reading JSON from TXT File:

   The EA should read a text file containing JSON data in the following format
   [
  {"ccy": "EURUSD", "action": "buy", "time": "2025-01-01 12:00"},
  {"ccy": "NZDCAD", "action": "buy", "time": "2025-01-01 12:00"}
]
   The currency pairs in this JSON array should match those specified by the user in the EA.

3. Order Execution:

   When the EA identifies an action of either "buy" or "sell" from the JSON data, it should automatically open a trade for the specified currency pair. For example, if it reads {"ccy": "EURUSD", "action": "buy", "time": "2025-01-01 12:00"}, the EA should open a buy order for EURUSD.

4. Backtesting Conditions:
   During backtesting, if the EA has not read the TXT file or if the times in the TXT file do not align with the backtesting chart's time, the backtest should not proceed.

   The backtest should only continue once the EA has read the TXT file and the time in the JSON matches the time on the backtesting chart.

5. Input for Trade Spacing:
   The EA should include an input parameter that allows the user to specify the minimum distance (in points) required between trades of the same direction before opening a new position.

6. Trade Management:
   
   The EA should manage trades based on the action specified in the JSON data:
     When the action is "buy" for a specific currency pair (e.g., {"ccy": "EURUSD", "action": "buy", "time": "2025-01-01 12:00"}):
The EA must close all open "sell" orders for the EURUSD currency pair.

When the action is "sell" for a specific currency pair:
The EA must close all open "buy" orders for that same currency pair.

     This ensures that the EA only closes positions that correspond to the specific currency pair indicated in the JSON data.

Han respondido

1
Desarrollador 1
Evaluación
(14)
Proyectos
32
25%
Arbitraje
3
0% / 33%
Caducado
1
3%
Trabaja
2
Desarrollador 2
Evaluación
(4)
Proyectos
5
0%
Arbitraje
1
100% / 0%
Caducado
3
60%
Trabaja
3
Desarrollador 3
Evaluación
(67)
Proyectos
207
72%
Arbitraje
4
100% / 0%
Caducado
1
0%
Libre
4
Desarrollador 4
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(383)
Proyectos
406
31%
Arbitraje
64
19% / 69%
Caducado
52
13%
Trabajando
7
Desarrollador 7
Evaluación
(69)
Proyectos
146
34%
Arbitraje
11
9% / 55%
Caducado
26
18%
Libre
8
Desarrollador 8
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Hello I need a HIGH FREQUENCY TRADING (HFT) EA mql4, that can be used to trade on live accounts of IC Market broker and FBS BROCKER I want this EA to work on US30 indices AND FOREX CURRANCYS ,The EA has to be highly profitable, giving daily profit with TIGHT STOPLOSS. input string MM_Parameters=" Money Management "; input bool MoneyManagement=false; input double Risk=10; Also i want to set the ea to have a limit of
Peace maker 30 - 150 USD
i am looking for a experiened metatrader developer who has been experience in both MT4 and MT5.I have a few projects to do.I need a long term partnership with active people who can complete projects within the agreed time.Its a long term opportunity
I'm looking for a experienced metatrader developer who has experience in both MT4 and MT5. I have a few projects to do. I need long term partnership with active person who can complete projects within agreed time. It's a long term opportunity
hello I would like to buil the code mql5 for a risk management strategy, then this code has to be add to another (or more) EAs. So i'm looking for somebody that can build it and add to the EA. I person has to be open and flexible to fix eventual bugs or add feature inside the EA. If you candidate I will send a video explaining better the idea
I need a developer who can help me code this strategy into NT8 . https://automated-trading.ch/NT8/strategies/ict-fvg-scalper-strategy please review the attach link to see the details of my project. looking forward to your bidding
Create a binary bot which will operate based on the signal it gets from the william fractal indicator. here is how it should work.. when the indicator gives a green signal pointing up under a 1minute time frame, the bot should open a sell position when the indicator gives a red signal, usually an arrowhead pointing down under 1 min timeframe, the bot should open buy position. The bot be able to function on deriv
I have tradingview indicator that I desire to make it work automatically and I wish to have it as metatrader 4 and metatrader 5 expert advisor...I want it to be similar as the Tradingview indicator and mt4 ea attached as guidance below but as EA for both MT4 and MT5 with an option to auto trade, placing a trade when the indicator closes a bar in a new trend, with a trailing sl that follows the same path as the
Hi, does anyone know how to do an Engulfing Robot...it's really simple; take profit, stop loss, trailing stop when it reaches 90% to return stop loss to 0 loss, working time 00:24. The most important thing is that the signals are EXACTLY the same as in the script with tradingview that I provide in the attachment. You can also view indicator on tradingview; engulfing candle by rmunoz 2968
I am looking for a simple Expert Advisor (EA) for MT5 that can send binary options trades to my Deriv.com account for the RISE/FALL markets. The EA should include the following features: Trading Execution: Send trades to the Deriv binary options platform for RISE/FALL pairs. Implement a martingale strategy: If the last trade (e.g., $1 on V25) loses, the next trade (e.g., V75) should use the martingale multiplier
EA requirement with the following parameters: 1: Magic number (buy + sell) 2: EA comment. 3: Initial lot. 4: Max open position. 5: Coefficient. Martingale, example, "1.3" = Initial lot x 1.3. 5: Distance grid, in pips, after the position before 6: TP value (pips), after opening the position, change All positions before for the new position. 7: SL value (pips) 0 = No SL. 8: Start time set, for opening the initial

Información sobre el proyecto

Presupuesto
30 - 45 USD
Plazo límite de ejecución
a 14 día(s)

Cliente

Encargos realizados1
Número de arbitrajes0