Create Custom IndicatorDataSeries with different datatypes

Created at 11 Feb 2022, 20:23
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!
PR

Profit_Islander

Joined 04.01.2019

Create Custom IndicatorDataSeries with different datatypes
11 Feb 2022, 20:23


Hello, is there a to create a custom IndicatorDataSeries with different data types?

Custom Indicator is being utilized by a custom cbot.


@Profit_Islander
Replies

amusleh
14 Feb 2022, 08:57

Hi,

No, the data type is double for based class and you can't create a child class from it with a different data type.

You can use collections like List.


@amusleh