The lookback period is included in the detrending, so the plotted price curve might still start and end at slightly different levels.