I wrote into my script a loop using While and I incremented the index. My script did not find the FirstBarOfSession.
int x = 1;
while ( ! Bars.IsFirstBarOfSessionByIndex(x) ) x++;
After I thought about it I guess it only makes sense that IsLastBarOfSessionByIndex would only work when my indicator looked from Left (older bars) to Right (newer bars). Not the other way around.
I found many other ways to do my search.
Minor issue. I just mention it because maybe it would be nice if the help file addressed this?
Comment