dynamic output

Created at 16 May 2018, 13:35
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!
CT

ctid386599

Joined 26.03.2018

dynamic output
16 May 2018, 13:35


[Parameter("Number of Output", DefaultValue = 5, MinValue = 1, Step = 10)]
        public int numofOutputs { get; set; }

[Output("Result1")]
        public IndicatorDataSeries Result1 { get; set; }

[Output("Result2")]
        public IndicatorDataSeries Result2 { get; set; }

[Output("Result3")]
        public IndicatorDataSeries Result3{ get; set; }

[Output("Result4")]
        public IndicatorDataSeries Result4 { get; set; }

[Output("Result5")]
        public IndicatorDataSeries Result5 { get; set; }

Is it possible to create outputs dynamically using some kind of loop. say I want 5 results. Thank you in advance


@ctid386599
Replies

PanagiotisCharalampous
16 May 2018, 15:26

Hi,

Unfortunately this is not possible in cAlgo. Outputs have to be fixed.

Best Regards,

Panagiotis


@PanagiotisCharalampous