MarketData.GetSeries limitations

Created at 20 Sep 2021, 12:15
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
RI

rick779

Joined 24.06.2020

MarketData.GetSeries limitations
20 Sep 2021, 12:15


From my indicator, calling MarketData.GetSeries with a symbol other than the current one,
I get only the last 2000 most recent bars (even if I scroll the chart further back) and this does not allow me to perform backtests.
Is there a way to get more bars or set a start date?

 

Thanks


@rick779
Replies

firemyst
22 Sep 2021, 04:41

RE:

riccardo.buttari said:

From my indicator, calling MarketData.GetSeries with a symbol other than the current one,
I get only the last 2000 most recent bars (even if I scroll the chart further back) and this does not allow me to perform backtests.
Is there a way to get more bars or set a start date?

 

Thanks

 

Try what's on this thread:

 


@firemyst

rick779
22 Sep 2021, 09:01

RE: RE:

Nice, thank you

 

firemyst said:

riccardo.buttari said:

From my indicator, calling MarketData.GetSeries with a symbol other than the current one,
I get only the last 2000 most recent bars (even if I scroll the chart further back) and this does not allow me to perform backtests.
Is there a way to get more bars or set a start date?

 

Thanks

 

Try what's on this thread:

 

 


@rick779