I am a bit confused about the lookback period used in the backest function, it should be just N+1, where N is the longest lookback for my indicators, but I need to set it larger, why?
support last edited by
@rezhak21 Hi, the lookback period used in the builtin backtest function is expressed in calendar days, while indicators are computed in trading days. As a rule of thumb, add 2 more days every 5 trading days to take weekends into account.
@support understood thnx