Can’t create data series in cbot

Created at 17 Jan 2022, 16:52
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!
BO

Bonedrak1

Joined 14.10.2018

Can’t create data series in cbot
17 Jan 2022, 16:52


I have been trying to create a data series from an existing series, which will then be used to create an ema with a custom indicator. The data series just gives me NaN results. 
 

I can’t find an example or sample of a createdataseries Cbot that I can make work. 
 

Please help. 


@Bonedrak1
Replies

amusleh
18 Jan 2022, 09:19

Hi,

You can create a data series by using the CreateDataSeries method, please check here for examples: cAlgo API Reference - IndicatorDataSeries Interface (ctrader.com)


@amusleh