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

Job finished

Execution time 2 minutes
Feedback from employee
Excellent customer. Would be glad to work with you again.
Feedback from customer
He immediately solved the issue within 10 after posting. Fast and efficient!

Specification

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.   

Responded

1
Developer 1
Rating
(81)
Projects
142
53%
Arbitration
5
80% / 0%
Overdue
6
4%
Free
Similar orders
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Diusang 50 - 533 USD
TITLE: Diusang EA - [ e.g. Gold M1 Scalping Robot ] 1. PLATFORM: MT4 or MT5 ? 2. PAIR / TIMEFRAME: e.g. XAUUSD M1, M5 3. STRATEGY LOGIC: - Entry Buy when: ... - Entry Sell when: ... - Indicator settings: ... 4. RISK MANAGEMENT: - Lot size: Fixed 0.01 / Auto lot from balance? - Stop Loss: ... pips - Take Profit: ... pips - Max trades: ... 5. OTHER FEATURES: - Trailing stop? Yes/No - Trading hours
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Espert 30+ USD
I want to create a robot with 10 indicators.All to take a trade and all in stop folowing. Thanks to put in THE PARAMETERS Yes/No for the indicators to entry in position AND to the stop A trade with 2 takes profit and a breakeaven at the first TP. The goal is to be able to try the multiple combinations with these indicators

Project information

Budget
150+ USD