Historical price data limitation - cant load price data for dates older than 1 year before test starting date

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

Время выполнения 2 минуты
Отзыв от заказчика
He immediately solved the issue within 10 after posting. Fast and efficient!
Отзыв от исполнителя
Excellent customer. Would be glad to work with you again.

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

PROBLEM: 
It seems that when my EA runs at the strategy tester it cannot access data that are sufficiently old.

In particular, it loads data that are maximum one year old from the date that I wish to start running the EA but not older than that.

For in the following example if I start the EA on 2019.01.01 the oldest date for which it can access price data,irrespective of the timeframe used, is 2018.01.02.

2021.02.28 14:17:48.157 USDJPY,M1: history cache allocated for 1180536 bars and contains 370922 bars from 2018.01.02 00:00 to 2018.12.31 21:00

2021.02.28 14:17:48.157 USDJPY,M1: history begins from 2018.01.02 00:00

2021.02.28 14:17:49.057 USDJPY,M30: history cache allocated for 39401 bars and contains 12414 bars from 2018.01.02 00:00 to 2018.12.31 21:00

2021.02.28 14:17:49.058 USDJPY,M30: history begins from 2018.01.02 00:00

2021.02.28 14:17:49.236 USDJPY,H4: history cache allocated for 4927 bars and contains 1554 bars from 2018.01.02 00:00 to 2018.12.31 20:00

2021.02.28 14:17:49.237 USDJPY,H4: history begins from 2018.01.02 00:00

That particular date comes up as the result in both of the following cases:

datetime(SeriesInfoInteger(_useSymbol,PERIOD_M1,SERIES_FIRSTDATE))

datetime(SeriesInfoInteger(_useSymbol,PERIOD_M1, SERIES_TERMINAL_FIRSTDATE))

My question regarding this particular example is the following:

Does anybody know how I can force the EA to load price data for dates older than 2018.01.02 00:00 (one year before the date on which I start running the EA)?

Given that 2018.01.02 00:00 is the very first date in the history of the symbol on the server, is it possible for this date to be changed?


I have already tried the following but have not managed to make any of the proposed solution work..

A)  ChartNavigate() (after reading https://www.mql5.com/en/forum/229215 )

B) ROMAN KOTOV’s proposed code, comment #8( https://www.mql5.com/en/forum/229215)

C) CheckLoadHistory() (https://www.mql5.com/en/docs/series/timeseries_access)

D) CopyTime () (Alain Verleyen’ proposal at comment #3) (https://www.mql5.com/en/forum/286608 )

Any help would be massively appreciated.

Thank you for your time in advance.


PROCEDURE: 

I will share with the developer an example EA on which he will add his code to achieve the requested result (which will be clearly stated below). 

In the end I expect to get the source code so that I can add it at my own algo.

Once he has received the payment, I also expect the developer to spend maximum 30 minutes to explain to me clearly how he did it. 


DESIRED RESULT:

The code that the developer will write should enable the example algo to access pricedata (irrespective of the timeframe) for a date that is up to 3 years older than the starting date of the test.
For instance if I run the example algo on the strategy tester from 2016.01.01 to 2019.01.01, the example algo containing the code I will receive from the developer, should be able to recall price data from dates within the following timewindow 2013.01.01-2016.01.01.   

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

1
Разработчик 1
Оценка
(77)
Проекты
133
50%
Арбитраж
5
80% / 0%
Просрочено
6
5%
Свободен
Похожие заказы
I am working on a source code for an EA but I could not complete the coding to make it work as I wanted. I have done the most part of the work already but there's still a slight glitch in it's working. So I need help to fix these issue. I will be providing the source code and the expected workings for the EA. Although, the remaining part of the EA with glitch is creating a loop of alternating pending orders at
Expert advisor 100+ USD
convert pine script to mt5 indicator and then making a EA for it. the indicators used here will be smma and trendline with breaks. will provide pine script for intrested developers
Expert advisor according Trading view indicator supertrend ATR with trailing stop loss (exit 490) Stop loss to be placed at label beginning (blueline in screen shot) The EA should use normal candles and be open to any time frame. I would like to have an option to have fixed lots. This EA should have money management/ risk percentage. The EA should work on all timeframes for Forex and Crypto pairs. Results should be
EA 100+ USD
Hi Everyone, I am looking to hire a developer to create an Expert Advisor (EA) for MetaTrader 5, utilizing two custom indicators: Trendline with breaks and SMMA . The EA should be designed based on specific trading conditions which I will detail below, and it should also include comprehensive optimization and backtesting. Project Details: Indicators to be Used: Trendline with breaks Indicator : Should generate
Looking for a good EA 30 - 100 USD
I'm looking for best strategy which works on all forex and crypto market.EA must be work with low balance and generate good profit daily/weekly basis depend on market.Drawdown will be very less.if anyone having this type of strategy send me demo first i will back test it .if it meets my requirements code the same EA for me and adding extra inputs if necessary
Hello everyone I'm searching for a Renko EA which is of course profitable. As far as I know prop firms or brokers in general don't offer the renko chart so it must be calculated manually. The renko also doesn't print a new block at every candle like the heikin ashi. I guess if we could combine heikin ashi candles incl. Renko then it's a strong momentum for a reversal. Would love to see what you already built in this
i need an expert who has experience and can help me with my project, I want to extract a hidden source code (pine script) from an Tradingview Indicator. and i need it to be done as soon as possible, If you are an expert on this field kindly comments
Hi I have an indicator that create objects in the chart and using those following some rules the new indicator will create external global variables with value = 0 ( NONE ), = 1 ( BUY ) or = 2 ( SELL ). The global variable will use PIN external integer number . PINS are by now global variables (GV) whose name indicates the pair name and the PIN belonging and their value indicates it direction/action. PINS GV names
I'm looking for an experienced programmer who can extract hidden Pine Script source code from a TradingView indicator. This indicator is essential to my trading strategy, and I need the code to customize it further. If you have a strong background in Pine Script and understand TradingView’s architecture, let’s work together to unlock this code
I need a skilled programmer to help extract hidden source code from a TradingView indicator I rely on. The indicator is key to my trading, and I’d like to access and customize its Pine Script code for deeper analysis. If you have experience with TradingView’s structure and decompiling or reverse-engineering indicators, please get in touch—let's unlock this together

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

Бюджет
150+ USD
Исполнителю
135 USD