how can i divide parameters in group for better understanding

Created at 13 May 2020, 05:59
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!
ZuniSoft's avatar

ZuniSoft

Joined 11.03.2019

how can i divide parameters in group for better understanding
13 May 2020, 05:59


I like to grouping the input parameters for my EA. and want to assign a name at the top of the parameter group. I've seen some pictures here of grouped parameters. can someone provide the code?

 


@ZuniSoft
Replies

PanagiotisCharalampous
13 May 2020, 10:05

Hi ZuniSoft,

Just use the Group attribute. See below an example

        [Parameter("Enabled", Group = "Take Profit 1", DefaultValue = false)]
        public bool TakeProfit1Enabled { get; set; }

Best Regards,

Panagiotis 

Join us on Telegram

 


@PanagiotisCharalampous