Cross-period custom indicator returning incorrect values during backtest | Forex Factory