MT5 Backtesting EA (Include Source code)

MQL5 Experts

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(14)
Projets
32
25%
Arbitrage
3
0% / 33%
En retard
1
3%
Travail
2
Développeur 2
Évaluation
(4)
Projets
5
0%
Arbitrage
1
100% / 0%
En retard
3
60%
Travail
3
Développeur 3
Évaluation
(67)
Projets
207
72%
Arbitrage
4
100% / 0%
En retard
1
0%
Gratuit
4
Développeur 4
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Travail
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
(383)
Projets
406
31%
Arbitrage
64
19% / 69%
En retard
52
13%
Chargé
7
Développeur 7
Évaluation
(69)
Projets
146
34%
Arbitrage
11
9% / 55%
En retard
26
18%
Gratuit
8
Développeur 8
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
I need an EA (MQL5 with code) to be able to open positions based on predefined price grid. EA should place first buy position( lot size and TP, SL) one minutes after of loading it on to the chart. Same time when first order is opened one pending orders from main order (if step is 10pips) a buy stop (of lot size * multiplier ) above 10 pips. If Sell enabled then it will open a sell stop ( with lot size *
I have a trading view indicator (attached txt file below) and want to convert into a MT5 auto trading bot. that indicator shows sell and buy label clearly. I think first need to convert indicator into strategy then we can convert into the MT5 code
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

Informations sur le projet

Budget
30 - 45 USD
Délais
à 14 jour(s)

Client

Commandes passées1
Nombre d'arbitrages0