In order to enhance results of the 1 minute strategy I wanted it to run also in 2 minute period with the same instrument. To make it in one script I put this row there (in bold):
… IsInstantiatedOnEachOptimizationIteration = true;
}
else if (State == State.Configure)
{
SetStopLoss("", CalculationMode.Ticks, 8, false);
SetProfitTarget("", CalculationMode.Ticks, 2);
AddDataSeries(Data.BarsPeriodType.Minute, 2);
}
else if (State == State.DataLoaded)
{
…
Obviously was not enough. What did I miss?
Thank you for help
Michael
Comment