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

Работа завершена

Время выполнения 23 дня
Отзыв от исполнителя
Great Client. Thank you for the Job

Техническое задание

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

Файлы:

CSV
signals.csv
5.5 Kb

Откликнулись

1
Разработчик 1
Оценка
(1)
Проекты
1
100%
Арбитраж
0
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(9)
Проекты
19
16%
Арбитраж
3
67% / 0%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(2)
Проекты
2
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(2)
Проекты
2
50%
Арбитраж
0
Просрочено
1
50%
Свободен
5
Разработчик 5
Оценка
(28)
Проекты
39
23%
Арбитраж
14
0% / 93%
Просрочено
4
10%
Работает
6
Разработчик 6
Оценка
(11)
Проекты
15
20%
Арбитраж
6
0% / 100%
Просрочено
3
20%
Свободен
7
Разработчик 7
Оценка
(64)
Проекты
144
46%
Арбитраж
20
40% / 15%
Просрочено
32
22%
Работает
Похожие заказы
Hello, I'm looking to find out the cost of creating a mobile trading robot. I've tried to describe it as thoroughly as possible in the following document. I look forward to your response. I'd like to know the costs, delivery time, and how you plan to implement it before making a decision
I have an existing MT5 Expert Advisor (“E-Core”). I need an experienced MQL5 developer to integrate a structured risk management upgrade and a higher timeframe trend filter into the current code. Two files will be provided: 1️⃣ E-Core Source Code (Current Version) 2️⃣ Update Instructions File (contains exact inputs, functions, and logic to integrate) The developer must: Integrate the update logic
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Billionflow 30 - 100 USD
Trading specifications: Indicators: Bollinger band ( Period 40, Deviation 1 apply to close) Moving Average (Exponential ) Period 17 applied to high Moving Average ( Exponential ) Period 17 applied to low But Signal enter a buy trade when prices crosses the lower band of the bollinger band up and also crosses the moving average channel of high and low the reverse is true for sell signal
Hello, I am a user of the "BUY STOP SELL STOP V6" trading bot, which is an advanced Grid System bot. The bot is primarily designed for Gold (XAUUSD), but I want it to work on all currency pairs. "The bot contains a privacy/protection code that prevents it from running on other accounts or being modified on any platform, as it has a client account number lock mechanism" --- Bot Description & Current Settings Bot Type
I am looking for a highly experienced Pine Script v5 developer to build a professional, non repaint price action indicator for TradingView. or a ready made one so i can purchase. This is a structured two phase project. The goal is to create a clean, intelligent price action tool that works for both fast intraday trading and swing trading. Only apply if you have strong Pine experience and understand liquidity
Hello, I’m looking for an experienced MQL4/MQL5 developer to work with me on an ongoing basis. My clients request services such as: Converting TradingView Pine Script indicators/strategies into MT4 or MT5 Expert Advisors Converting MT4 EAs to MT5 (and MT5 to MT4) Compiling and fixing existing MQL4 / MQL5 EA code Adding simple features like alerts, SL/TP, lot size, and basic money management This job is for
I am looking someone to create an EA based on my MACD Histo indicator / strategy from Pinescript. I will send it to you for you to replicate. The EA shall have: - Divergence length in bars, min and max values. - Pivot Logic - Entry on close of divergence confirmation bar. - Dynamic lot size dependent on SL/TP, in monetary value. - SL / TP in percent away from entry, separate values for long and short. - Time, day and
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
simple automated trading system with adaptive risk management and trend-based execution. The EA manages trades with dynamic position handling and built-in stability filters. Designed for single-position trading and disciplined execution 30 usd budget

Информация о проекте

Бюджет
30+ USD
Сроки выполнения
от 2 до 10 дн.