I was using some if getCurrentBarIndex() == 0 conditions in my script for testing tonight. They worked great. Then about 3am getCurrentBarIndex started returning -1 for the current bar instead of 0. Why is this? Due to a date change or something? I thought the current bar was always supposed to be 0! Im a bit confused.
I've rebooted and still have the same effect.
I've rebooted and still have the same effect.
Comment