I have coded a Strategy with custom form created in Initialize() function :
CustomForm cf = null; /// <summary> /// This method is used to configure the strategy and is called once before any strategy method is called. /// </summary> protected override void Initialize() { this.BarsRequired = 1; CalculateOnBarClose = false; this.ClearOutputWindow(); checkParamFile(); if (cf == null) { cf = new CustomForm(this); cf.Show(); } }
Is there a way to avoid that behaviour ? Thanks
Comment