Hi
I created a small indicator that retrieves all the ticks from "barsAgo" bars ago.
when I enter bigger numbers like here : 287 on USDCHF M15, no ticks are retrieved.
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) Pair = USDCHF 15
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) nticks 0
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) bars ago = 287
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) num false ask ticks 0 / 0
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) num false bid ticks 0 / 0
the limit seems to change from pair to pair and never a round number
My question is : If I need to retrieve past ticks data, how can I increase the number of bars available ? do I have to perform a backtest to download the ticks ?
thanks so much
EDIT : here is a new version that finds the limit of the available bars
Jeff
ok I will answer to my own question. To break the limit of 287 bars of tick data, I performed a backtest 3 days before the last date on the same pair, and since then I got more data.
the question is : can I programatically download tick data for the bars that are not yet downloaded within an indicator ? (without having to run an EA for the needed period) ?
this would be a great feature for the next MT5 (or MT6?)
thanks
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I created a small indicator that retrieves all the ticks from "barsAgo" bars ago.
when I enter bigger numbers like here : 287 on USDCHF M15, no ticks are retrieved.
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) Pair = USDCHF 15
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) nticks 0
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) bars ago = 287
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) num false ask ticks 0 / 0
2020.05.10 12:37:51.088 Ticks verify 01_ (USDCHF,M15) num false bid ticks 0 / 0
the limit seems to change from pair to pair and never a round number
My question is : If I need to retrieve past ticks data, how can I increase the number of bars available ? do I have to perform a backtest to download the ticks ?
thanks so much
EDIT : here is a new version that finds the limit of the available bars
Jeff