Get Entry time EMA value

How can we create an EXIT condition like this example:
close > entry time EMA20 + (some value)