Its happening an strange thing in my strategy.
When I try to change the value of params on the Strategies window, the params only change 1 time. From the second time it does not work anymore and Output show:
"Error on calling 'OnStateChange' method: Object reference not set to an instance of an object."
I declare my var:
public double myVar{ get; set; }
and set:
if (State == State.SetDefaults)
{
myVar = 1.5;
}
What do you think is happening? I dont have this errors with other strategies with the same params : /
Comment