EA based on CSV

MQL5 Experts Consultation

Spécifications

Hello Developers,

I need some consultation to help narrow down an idea and develop an EA. I have a csv file that stores data like this:

Date portfolio portfolio_value
18/11/2025 ['EURNZD', 'EURCAD', 'EURJPY', 'EURCHF', 'AUDNZD', 'AUDCAD', 'AUDJPY', 'AUDCHF', 'USDNZD', 'USDCAD', 'USDJPY', 'USDCHF', 'GBPNZD', 'GBPCAD', 'GBPJPY', 'GBPCHF'] 1.7970698812202368
19/11/2025 ['CHFAUD', 'CHFNZD', 'CHFGBP', 'CHFJPY', 'EURAUD', 'EURNZD', 'EURGBP', 'EURJPY', 'USDAUD', 'USDNZD', 'USDGBP', 'USDJPY', 'CADAUD', 'CADNZD', 'CADGBP', 'CADJPY'] 2.3329507054813736
20/11/2025 ['JPYAUD', 'JPYNZD', 'JPYGBP', 'JPYCHF', 'EURAUD', 'EURNZD', 'EURGBP', 'EURCHF', 'USDAUD', 'USDNZD', 'USDGBP', 'USDCHF', 'CADAUD', 'CADNZD', 'CADGBP', 'CADCHF'] 5.803608144876992
21/11/2025 ['JPYAUD', 'JPYNZD', 'JPYGBP', 'JPYCHF', 'EURAUD', 'EURNZD', 'EURGBP', 'EURCHF', 'USDAUD', 'USDNZD', 'USDGBP', 'USDCHF', 'CADAUD', 'CADNZD', 'CADGBP', 'CADCHF'] 6.813640731557092
24/11/2025 ['EURAUD', 'EURNZD', 'EURCAD', 'EURJPY', 'USDAUD', 'USDNZD', 'USDCAD', 'USDJPY', 'CHFAUD', 'CHFNZD', 'CHFCAD', 'CHFJPY', 'GBPAUD', 'GBPNZD', 'GBPCAD', 'GBPJPY'] 3.6412664761397373
25/11/2025 ['EURAUD', 'EURNZD', 'EURCAD', 'EURJPY', 'USDAUD', 'USDNZD', 'USDCAD', 'USDJPY', 'CHFAUD', 'CHFNZD', 'CHFCAD', 'CHFJPY', 'GBPAUD', 'GBPNZD', 'GBPCAD', 'GBPJPY'] 5.153264738552588
26/11/2025 ['EURAUD', 'EURNZD', 'EURCAD', 'EURJPY', 'USDAUD', 'USDNZD', 'USDCAD', 'USDJPY', 'CHFAUD', 'CHFNZD', 'CHFCAD', 'CHFJPY', 'GBPAUD', 'GBPNZD', 'GBPCAD', 'GBPJPY'] 5.626267359851079
27/11/2025 ['EURAUD', 'EURNZD', 'EURCAD', 'EURJPY', 'USDAUD', 'USDNZD', 'USDCAD', 'USDJPY', 'CHFAUD', 'CHFNZD', 'CHFCAD', 'CHFJPY', 'GBPAUD', 'GBPNZD', 'GBPCAD', 'GBPJPY'] 0.9480722215423953
28/11/2025 ['NZDAUD', 'NZDCAD', 'NZDGBP', 'NZDJPY', 'EURAUD', 'EURCAD', 'EURGBP', 'EURJPY', 'USDAUD', 'USDCAD', 'USDGBP', 'USDJPY', 'CHFAUD', 'CHFCAD', 'CHFGBP', 'CHFJPY'] 0.017755719
01/12/2025 ['NZDAUD', 'NZDCAD', 'NZDGBP', 'NZDJPY', 'EURAUD', 'EURCAD', 'EURGBP', 'EURJPY', 'USDAUD', 'USDCAD', 'USDGBP', 'USDJPY', 'CHFAUD', 'CHFCAD', 'CHFGBP', 'CHFJPY'] -2.15614944
02/12/2025 ['NZDAUD', 'NZDCAD', 'NZDGBP', 'NZDJPY', 'EURAUD', 'EURCAD', 'EURGBP', 'EURJPY', 'USDAUD', 'USDCAD', 'USDGBP', 'USDJPY', 'CHFAUD', 'CHFCAD', 'CHFGBP', 'CHFJPY'] -1.976555216
03/12/2025 ['NZDAUD', 'NZDCAD', 'NZDGBP', 'NZDJPY', 'EURAUD', 'EURCAD', 'EURGBP', 'EURJPY', 'USDAUD', 'USDCAD', 'USDGBP', 'USDJPY', 'CHFAUD', 'CHFCAD', 'CHFGBP', 'CHFJPY'] -1.775490478
04/12/2025 ['NZDAUD', 'NZDCAD', 'NZDGBP', 'NZDJPY', 'EURAUD', 'EURCAD', 'EURGBP', 'EURJPY', 'USDAUD', 'USDCAD', 'USDGBP', 'USDJPY', 'CHFAUD', 'CHFCAD', 'CHFGBP', 'CHFJPY'] -4.630087808


The date column is in UTC format.

portfolio is the column that contains a list of currency pairs that I want to look in to.

portfolio_value is the value of a particular portfolio at a specific date.


I want the EA buy the portfolio if the date in my csv file is one day earlier than the broker time (in UTC), and portfolio_value is less than -0.25 (input).

I want the EA sell the portfolio if the date in my csv file is one day earlier than the broker time (in UTC) and portfolio_value is greater than 0.25 (input).

Cost per pip is important; all should have the same cost per pip (in USD)

If I am buying the portfolio, I want it to close above -0.25 (input). If I am selling, I want it to close below the 0.25(input).

After position has been opened, the EA will continuously check the csv file over and over again due to continuous updates.

I might open positions for a long time, so due to swaps, the EA needs to open more positions when needed accordingly.

Because there are continuous updates, the EA need to keep up with the changes happening; sometimes it need to close some positions and open new positions.


That's a lot in my mind right now, I am having a hard time framing it.


I will not hire a developer before I receive an EA that I can test over 4 weeks, and I can also backtest in the strategy tester.

Répondu

1
Développeur 1
Évaluation
(16)
Projets
35
23%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
2
Développeur 2
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Travail
3
Développeur 3
Évaluation
(16)
Projets
20
10%
Arbitrage
8
38% / 38%
En retard
3
15%
Travail
4
Développeur 4
Évaluation
(14)
Projets
16
50%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
5
Développeur 5
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
6
Développeur 6
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(251)
Projets
314
28%
Arbitrage
34
26% / 65%
En retard
10
3%
Travail
8
Développeur 8
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
9
Développeur 9
Évaluation
(152)
Projets
228
80%
Arbitrage
22
27% / 50%
En retard
11
5%
Gratuit
Publié : 24 articles, 1882 codes
10
Développeur 10
Évaluation
(296)
Projets
475
40%
Arbitrage
105
40% / 24%
En retard
80
17%
Occupé
Publié : 2 codes
11
Développeur 11
Évaluation
(79)
Projets
137
51%
Arbitrage
5
80% / 0%
En retard
6
4%
Travail
12
Développeur 12
Évaluation
(5)
Projets
7
0%
Arbitrage
8
13% / 75%
En retard
3
43%
Gratuit
13
Développeur 13
Évaluation
(13)
Projets
20
40%
Arbitrage
1
0% / 100%
En retard
1
5%
Gratuit
14
Développeur 14
Évaluation
(8)
Projets
12
0%
Arbitrage
22
0% / 77%
En retard
4
33%
Gratuit
15
Développeur 15
Évaluation
(3)
Projets
4
50%
Arbitrage
0
En retard
0
Travail
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
(10)
Projets
14
43%
Arbitrage
0
En retard
3
21%
Gratuit
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
20
Développeur 20
Évaluation
(13)
Projets
20
40%
Arbitrage
3
0% / 67%
En retard
3
15%
Gratuit
21
Développeur 21
Évaluation
(32)
Projets
35
34%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
22
Développeur 22
Évaluation
(39)
Projets
46
28%
Arbitrage
14
21% / 64%
En retard
1
2%
Chargé

Informations sur le projet

Budget
50+ USD

Client

(6)
Commandes passées10
Nombre d'arbitrages0