Position keyword Candle data mismatch

I am using Cross keyword to capture stochRSI crossover.
Formula I have used is as below:

Position ( Cross ( StochRsiK ( CLOSE ( Symbol ( Instrument Name ( ‘MCX,Crudeoil,Current Month,’ ) , ‘15m’, ‘100’ ) ) , ‘14’, ‘5’, ‘3’ ) , StochRsiD ( CLOSE ( Symbol ( Instrument Name ( ‘MCX,Crudeoil,Current Month,’ ) , ‘15m’, ‘100’ ) ) , ‘14’, ‘5’, ‘3’ ) ) , ‘-1’ ) )

My practical observation is, Position with -1 is not actually previous candle but 2 candles brefore. I compared candlestick chart and when the trade was taken. Has anyone observed this issue? What is the solution to get cross over properly? Any help in this regards is greatly appreciated. Thank you.

Though I did not use Cross but I used Position keyword in others where -1 gives exactly previous candle value