I am looking at a bar by its time. So I go through a loop as followed:
int timme = 0;
for (int i = CurrentBar; i > 0; i--)
{
time = ToTime(Time[CurrentBar-i]);
}
I assume that CurrentBar represents the total number of the bars on the chart.
I am failling to get the time of a given bar at the time "i". What am I making wrong?
Best regrads.
Comment