Please help: iBarShift returns incorrect value for period = PERIOD_MN1 - page 2

 

if u open a monthly chart u have more than 2 candles ?

 

That's it! Mystery solved! Excellent work qjol.

I guess the bars just weren't loaded.

I really appreciate your help on this. Thanks!