...
else if (State == State.Configure)
{
AddRenko(Instrument.MasterInstrument.Name,RenkoPer iod,MarketDataType.Last);
AddDataSeries(Instrument.MasterInstrument.Name,Dat a.BarsPeriodType.Tick, TickPeriod);
AddDataSeries(Instrument.MasterInstrument.Name,Dat a.BarsPeriodType.Volume, VolumePeriod);
}
}
protected override void OnBarUpdate()
{
Print(CurrentBars[0]+ " "+CurrentBars[1]+ " "+CurrentBars[2]+ " ");
if (CurrentBars[0] <= BarsRequiredToTrade || CurrentBars[1] <= BarsRequiredToTrade || CurrentBars[2] <= BarsRequiredToTrade)
return;
Comment