Sell after 3 days I bought

Hi,
Please let me know how to code AFL for backtesting,
code snippet:

Buy = Low < Ref(LLV(Low, -3));
Sell = ??????
Buy = Extrem(Buy,Sell);
Sell = Extrem(Sell,Buy);
ApplyStop(stopTypeLoss,stopModePercent,5);

What is the "Sell" code? I want to sell 3 days after a Buy signal from above code.

Please see this for N-bar stop: http://www.amibroker.com/f?applystop

Quote from the documentation:

/* N-bar stop */
ApplyStop( stopTypeNBar, stopModeBars, 3 );