Работа завершена
Время выполнения 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
Оценка
Проекты
142
53%
Арбитраж
5
80%
/
0%
Просрочено
6
4%
Свободен
Похожие заказы
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
GRID/DCA EA for XAUUSD Trading needed
50 - 100 USD
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri
50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
V3 PRO Auto-Scalper EA
40+ USD
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Adaptive XAUUSD EA – MT5
30 - 200 USD
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Информация о проекте
Бюджет
150+ USD