But when i look at the output I have the output of the daily result every 7/8 output of 15 minutes series, that means it's not done daily but with another interval. Am i missing something ?
thanks
else if (State == State.Configure)
{
AddDataSeries(BarsPeriodType.Minute, 5);
AddDataSeries(BarsPeriodType.Minute, 15);
AddDataSeries(BarsPeriodType.Day, 1);
}
}
protected override void OnBarUpdate()
{
if ( BarsInProgress == 0)
{
Print("Bar in progress 0 : " + Close[0].ToString());
}
if ( BarsInProgress == 1)
{
Print("Bar in progress 1 : " + Close[0].ToString());
}
if ( BarsInProgress == 2)
{
Print("Bar in progress 2 DAILY : " + Close[0].ToString());
}

Comment