I've done quite a bit of searching but I'm not having any luck finding an answer.
Is it possible to create a simple radio button group (either or) in the strategy parameter section?
For example, I currently have two boolean variables that create checkboxes when I run the strategy.
[NinjaScriptProperty]
[Display(Name="Use stop loss", Order = 1, GroupName=" Sell Parameters")]
public bool useStopLoss
{ get; set; }
[NinjaScriptProperty]
[Display(Name="Use profit chase", Order = 2, GroupName="Sell Parameters")]
public bool useProfitChase
{ get; set; }
Is there any simple way to make these two choices mutually exclusive so that only one or the other can be selected and not both at the same time?
Thanks!
Comment