The same strategy is started more times, is this a problem?
Here is what i did with my script:
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
if (Historical)return;
#region init
// Make sure this strategy does not execute against historical data, unless we're backtesting
//if (Historical && !backTest)
if (Historical)
return;
I also enabled 'Wait until flat before executing live' at Tools-->Options-->Strategy-tab, but that didn't help.
Comment