PositionScore=100-RSI(14) provides the score for the day in question. No delay. SetTradeDelays(1,1,1,1) would delay the buys, sells, shorts and covers by 1 day.
--- In [email protected], Tony M <pqj...@...> wrote: > > I have a question when use both SetTradeDelays and PositionScore. > > When I use SetTradeDelays(1,0,0,0), should I use PositionScore=100-RSI(14) or > should I use PositionScore=100-Ref(RSI(14),-1)? > > Using PositionScore=100-RSI(14), the profit from my backtest is huge, but > when I use PositionScore=100-Ref(RSI(14),-1), the profit becomes quite small. > Does PositionScore=100-RSI(14) rank stocks on the next day because of > SetTradeDelays(1,0,0,0)? I use SetTradeDelays(1,0,0,0) to buy at the open > the next day. > > Thanks in advance, > TM >
