Awesome, thanks so much.... works perfectly now.
I've been struggling with that for hours because the alternative solution is to use the "Delay" block, but for this block to work on the backtest, MT5 must open a .dll file and that was making the backtest intolerably slow (i.e. minutes to run a week on OHLC).
now it runs perfectly and super-fast 
thanks again