BO
    
        
            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.

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