Varying return date and prices once condition is met

#1
Hi all

I am new to AB and am interested to know whehter I can add to the code below in order to return not the day of the condition being met but say the day after or even the second day after the condition is met ie varing the return date. And with the varied dates return the open, close prices?
Your assistance is appreciated.
toptrader52


Buy = Cross(30,RSI(14));
Sell = Cross(RSI(14),70);
BuyPrice = Close;
SellPrice = Open;