Would the following formula be correct (I am asking because the backtest's exits don't function as intended):
In the system tester, under the "sell" and "buy to cover" tabs, I wrote the following code in order to close the position on the 10th day close after entering it (the test is on daily candlesticks):
ref(c,+10)
Thanks for your help.