I noticed when running a strategy in Strategy Analyzer, it's running multiple times when I expected it would only run once. I noticed this because I'm logging trades along with additional statistics to a custom database and I observed double the amount of trades saved when compared to what was reported in Strategy Analyzer.
If you set a breakpoint for the condition State == State.SetDefault in the OnStateChange() event, you'll see what I mean. Shouldn't any code in here only be executed once?
I'm testing with NT8.0.2.0
Thanks
Comment