How to find the candle on which trade was taken?

Hi, which keyword to use and find the HIGH and LOW of the candle on which trade was taken in Exit Condition ?

image

I tried using Position(High) as in the screenshot, but the position (-2) will change as time passes, right? So how to find the candle on which trade was taken ?

i am also tring to find answer

There is no answer. It seems it needs to be custom coded.