Is it possible to change the MarketSeries of an indicator to an IndicatorDataSeries created in OnTick?

Created at 14 Jul 2020, 00:31
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!
BE

benpaulsharpe

Joined 14.07.2020

Is it possible to change the MarketSeries of an indicator to an IndicatorDataSeries created in OnTick?
14 Jul 2020, 00:31


Hi guys,

I've created an IndicatorDataSeries which is filled with values over time through the OnTick function. I then need my indicators to do their calculations using this IndicatorDataSeries, but I'm unsure of how to do so, as the MarketSeries property of the indicator is 'get' only.

So I basically want the output of one indicator to be the input to another, is this possible?

Thanks


@benpaulsharpe
Replies

PanagiotisCharalampous
14 Jul 2020, 08:37

Hi benpaulsharpe,

Can you provide a code sample demonstrating what you are doing?

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous