dynamic output

16 May 2018, 13:35dynamic output#1
ctid386599posts: 14since: 26 Mar 2018
[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

16 May 2018, 15:26#2
Panagiotis Charalampousposts: 1200since: 13 Jan 2017

Hi,

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

Best Regards,

Panagiotis


Head of Community Management at cTrader