Tâche terminée
Temps d'exécution 2 minutes
Commentaires du client
He immediately solved the issue within 10 after posting. Fast and efficient!
Commentaires de l'employé
Excellent customer. Would be glad to work with you again.
Spécifications
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.
Répondu
1
Évaluation
Projets
141
52%
Arbitrage
5
80%
/
0%
En retard
6
4%
Gratuit
Commandes similaires
Trading bot with accuracy
100 - 400 USD
I want to develop a trading bot specifically for XAU/USD which takes trades based on Stochastic RSI on 5m timeframe and double check on 15m timeframe. It should only take buy trades only no sells. The strategy is based when the market is in good bullish volume it should wait for Stoch RSI to oversold on 5m timeframe and when it intersects from bottom it should take buy position of 0.5 lot with tp of 50 pips without
Gold robot
3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot
3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA
30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix
30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A Simple EA for Gold work on MT5
50 - 150 USD
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
Informations sur le projet
Budget
150+ USD