Coyote / Publications
Forum
Please help: iBarShift returns incorrect value for period = PERIOD_MN1
The following script returns a '1' for any index of Time[], when run on a chart in any timeframe. For example, it seems to me that the barshift for 10 weeks back should be '2'. This error only seems to occur with period = PERIOD_MN1. It seems to work fine with any other period. Anyone have any ideas