My question is what can be the problem?
I have tried to write a void thet can handle the timeframe , but I am not sure about it can be the key of my problem.
void period_changer()
{
if (BarsPeriod.Id == PeriodType.Minute){Add(PeriodType.Minute, 1);}
if (BarsPeriod.Id == PeriodType.Day){Add(PeriodType.Day, 1);}
}
Comment