I have create multi instrument strategy. And start back test, and I read report, but I can see only trades for 6E. What's wrong with this strategy?
protected override void Initialize()
{
CalculateOnBarClose = true;
Add("6E 12-11", PeriodType.Minute, 15);
Add("6B 12-11", PeriodType.Minute, 15);
Add("6C 12-11", PeriodType.Minute, 15);
Add("6S 12-11", PeriodType.Minute, 15);
Add("6J 12-11", PeriodType.Minute, 15);
}
if (CurrentBar > Bars.Count - 4) {
sum=x1+x2+x3+x4+x5;
}
if (sum<10)
{
EnterLong(0,1,"E");
EnterLong(2,1,"B");
EnterLong(3,1,"C");
EnterLong(4,1,"S");
EnterLong(5,1,"J");
}
if (Position.GetProfitLoss(Close[0], PerformanceUnit.Points)>10)
{
ExitLong();
}

Comment