A very simple request for backtesting trading signals in MT5 Strategy Tester from a csv file

Specification

Dear Developers, 


I would have a very simple request.

I have a ML model developed in Python for EURUSD daily trading. I would like to backtest it in Meta Trader 5 using the Strategy Tester tool. For that I would need an Expert Advisor program. 


The input would be a csv file that contains two columns:

-dates (going back for a few years on a daily basis)

-trading signal (it can have only 2 values, either 1: Buy, or -1: Sell).


The idea for the EA program to do would be the following:

1) import/read the series of trading signals from the csv file. 

2) initiate trade

a) based on the trading signal for the given day (historically). In case the value of the trading signal is

1: close existing short position AND open a new long position

-1: close existing long position AND open a new short position

c) Once in a position, nothing changes until the trading signal (for a subsequent day) changes sign.

b) There should be a settable parameter for the % of the available balance (on a given day) in the account to be used in the trades. This can be a single parameter applicable to all trades in a given backtest run (i.e. will be multiplied by the prevailing, available balance on a given day throughout the whole time window; a value of '100%' would mean that it uses all the prevailing, available balance for the trades). 

d) A settable cost parameter in pips should be implemented as well, also as a flat number. It can also be set at the beginning of the backtest run and the value(expressed by the single number in pips) should be subtracted from the balance approximating the average cost elements associated with the trade (like commission, funding cost). It should be applied to each and every trade (both closing existing and opening new positions).   


I would like to run it in the Strategy Tester selecting the backtesting time window (same as in the csv file), therefore it must be compatible with that, i.e. initiate the trades in Strategy Tester on the given day based on the trading signal from the csv file. 

I'm attaching a sample of the csv file I would use. 


I would appreciate your help. 

Thank you!

Best regards, 

Balazs

Files:

CSV
signals.csv
5.5 Kb

Responded

1
Developer 1
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
2
Developer 2
Rating
(8)
Projects
18
17%
Arbitration
3
67% / 0%
Overdue
0
Free
3
Developer 3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
0
Working
Similar orders
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader 1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks

Project information

Budget
30+ USD
VAT (21%): 6.3 USD
Total: 36 USD
For the developer
27 USD
Deadline
from 2 to 10 day(s)

Customer

Placed orders1
Arbitrage count0