To reference the Entry price in backtesting?

Is there a way to set a reference to the entry price of the strategy in backtesting so that exit strategy can be planned according to it?

thanks regards

hElLO tRaDeR,

Tradescript recognizes references only to candlestick values.

You cannot set reference to your entry price on your exit code.

;( well, thanks for answer!