thank you for answering.

i think i misuse the word 'recent' which reflects the current candle.

And yes, i will open another thread. This could help a lot of other users to port code from MT4 to Zorro