My strategy uses a secondary data serie (Heiken-Ashi). However, this data serie does not seem to be supported in the strategy analyzer:
else if (State == State.Configure)
{
// Trading hours template
string tradeHours = "Default 24 x 7";
// Data series
AddHeikenAshi(Instrument.FullName, BarsPeriodType.Minute, 1, MarketDataType.Last, tradeHours, false); // BarsInProgress = 1
}
Thanks!
edit: it works in Backtest mode, but not in the Optimization mode which is the one I want.

Comment