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%
空闲
相似订单
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
I have a complex indicator which is made by another coder before , but if i open a chart and run the indicator, then after some times i open new chart the same as before and run indicator on new chart again, the the recent signals on new chart is diffrent from the chart which was opened before!!! if anyone can solve it message me
Hi Everyone, I am looking to hire a developer to create an Indicator Autometer EA for MetaTrader 4, utilizing two custom indicators: ARROW and MA TREND . The EA should be flowing parameter that I put manual. Include telling stop, break even. Cheek attach file
Hi there, many thanks for taking the time out to read my request. my request seems simple and i've attempted building it myself and have compiled a complete coded file (with the aid of chat) however the coding doesn't want to place trades and after some heavy hours of searching and working on it leaves me reaching out here also. I am currently using a indicator on trading view which im aiming to perfectly make into a

项目信息

预算
150+ USD
开发人员
135 USD