how does the Strategy Analyzer work, if the below mentioned code is in MyStrategy? Does it have any effect on the result of backtest?
[FONT=Courier New][COLOR=#0000ff]protected override[/COLOR] [COLOR=#0000ff]void[/COLOR] OnBarUpdate()[/FONT] [FONT=Courier New]{[/FONT] [FONT=Courier New] [COLOR=#008000]// Only run on real-time data[/COLOR][/FONT] [FONT=Courier New] [COLOR=#0000ff]if[/COLOR] (Historical)[/FONT] [FONT=Courier New] [COLOR=#0000ff]return[/COLOR];[/FONT] [FONT=Courier New]}[/FONT]
Comment