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

Job finished

Execution time 23 days
Feedback from employee
Great Client. Thank you for the Job

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
(9)
Projects
19
16%
Arbitration
3
67% / 0%
Overdue
0
Free
3
Developer 3
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
4
Developer 4
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
1
50%
Free
5
Developer 5
Rating
(28)
Projects
39
23%
Arbitration
14
0% / 93%
Overdue
4
10%
Free
6
Developer 6
Rating
(11)
Projects
15
20%
Arbitration
6
0% / 100%
Overdue
3
20%
Free
7
Developer 7
Rating
(64)
Projects
144
46%
Arbitration
20
40% / 20%
Overdue
32
22%
Free
Similar orders
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
Code An Loss Rate 90-100% MT5 EA , that can blow a 100 USD account a day ,with fixed TP of 3000 points and SL of 3000 For better Rate Calculations get an strategy that can lead to so
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
I need a professional MT5 Expert Advisor (MQL5) for XAU/USD (Gold) only. Requirements: - Symbol: XAU/USD only - Timeframe: H1 trend, M5 entry - Smart Money Concept (SMC) - Liquidity Sweep - Break of Structure (BOS) - Order Block Retest - Confirmation Candle (Engulfing or Pin Bar) - ATR-based Stop Loss - Risk:Reward = 1:3 (adjustable) - Auto Lot (1% risk) - Break Even - Trailing Stop - Maximum 2 trades per day - One
Hello, I am looking for an existing, fully backtestable MT5 Expert Advisor or EA portfolio designed specifically for passing an FTMO-style prop-firm evaluation. I am not looking for unrealistic profit claims or a visually perfect backtest. My priority is a statistically defensible probability of passing the challenge while respecting all risk limits. Primary objective The system should be designed for the current
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell at 50% of the FVG 7. SL: 10 pips above sweep wick 8. TP: 2R
Hello looking for someone to convert an indicator from tradingview to Thinkorswim I have attached the codes from trading view Also, I like make it trigger (alert) a one-time alert when the trend changes, and can also create a custom watchlist column that flags symbols currently in a new trend so you can scan multiple stocks easily. And like the watchlist to show only fresh trend changes or the current trend direction
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
I want to build a fundamental news trading bot that trade off economic news data, as we know every economic news data released always have effect on the asset associated with it, so this bot will take a trade instantly based on the news data released either to buy or sell, it will come with good money management and also SL and TP target based on price and pips value

Project information

Budget
30+ USD
Deadline
from 2 to 10 day(s)