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)
Проекты
131
50%
Арбитраж
5
80% / 0%
Просрочено
6
5%
Свободен
Похожие заказы
Life Creator 40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
I need assistance with configuring an MT4 setup so that every alert generated by an indicator is sent to a Discord channel. Requirements: Discord Webhook Integration: Implement functionality to send messages to a specified Discord channel using a Webhook URL. Capture Alerts from Indicator: Ensure that every alert triggered by a specific indicator (or multiple indicators) in MT4 is forwarded to the Discord channel
I need ea that based on point and finger chart formula point and finger chart does not follow time frame only price based and point and finger chart has same functions as given below source > HL/close box size assignment method > traditional reversal > 1 or given as request box size > 0.00 lot size > 0.00 trailing stop in box > one box behind or as given must not follow time only price based X
I need two trading view indicators to be on Mt4 .i want them to work the same way that they do on trading view if possible.i will send the indicators
Here are the paragraphs for the robot's settings to trade on various instruments: *US30 (Dow Jones)* - Symbol: US30 - Timeframe: H1 (1-hour chart) - Lot size: 0.1 - Take profit: 200 points - Stop loss: 150 points *Gold (XAUUSD)* - Symbol: XAUUSD - Timeframe: H4 (4-hour chart) - Lot size: 0.1 - Take profit: 1000 points - Stop loss: 800 points *Nas 100 (US Tech 100)* - Symbol: NQ100 - Timeframe: H1 (1-hour chart) - Lot
hi , i am looking for a Grid EA with some basic type of EA but fully functional and final one. so anyone who can do perfect EA should contact. plan is discussed as below. start and end time, and days of active deactive button should be added in dashboard or else like if we want to close EA for any future day or days in coming week so before time we should be able to set. when EA starts. it opens one buy or sell and
The EA is in below VPS Server: 176.57.188.42 User: administrator Password: Test123! Kindly access the vps to check out the EA, the name of the EA I'm referring to is called TOPGUN 2.0 The job is to replicate the same EA in the server and code a very similar one based on the exact functionality in that existing EA. if u can do it kindly reach out
Around 3,000 lines of code. This is NOT for a newbie or someone who will just try to figure it out and waste each other's time. Need a PRO who can work fast, smart, and follow the instructions exactly. NO creativity, NO improvising, NO doing what you feel is best. NO scatter brain working on 5 projects at once. Finish mine carefully and promptly then you take another job. If I say candle body it means the close price
hello everyone I need to create an ea that creates signals based on the indicator on trading view and transmits it directly to mt5, so that the signals are created on trading view and orders are opened in mt5
Create a basic EA with 2 indicators and 3 conditions with stop loss and trailing stops. The lot size is one full lot, 1.0 EUR/USD, 100,000 Euros and stated clearly in the code

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

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