I'm develope a complex strategy using StrategyBaseConverter Class.
I get an issue but I have test the following:
1. NT desconnected, with No active connection
2. With a simple "refresh" of the parameters window the buton "Enabled" of the strategy become active
3. Turning ON the strategy return a window error and then the NT go in crash and Windows close NT!
I have prepare the most simple strategy "SampleMACrossOver", I save like "TestRefresh", I add only a button to refresh parameters. I add the strategy to download here.
Variable:
ShowHideToggle = true;
In the property:
[RefreshProperties(RefreshProperties.All)] // Needed to refresh the property grid when the value change
[Display(Name = "Toggle show/hide", Order = 1, GroupName = "Use Case #1")]
public bool ShowHideToggle
{ get; set; }
Here the problem... I have test in Two NT8.
Refreshing the parameters with the botton, the "Enabled" button of strategy go ON.
Turning ON the Strategy it return error window
And then only is possible to close the software.
Is possible to avoid this issue please?
Many thanks.
Comment