---
title: How do I know how much lookback I need?
slug: how-do-i-know-how-much-lookback-i-need
docTags: 
createdAt: 2022-06-23T19:20:49.000Z
---

The lookback will depend on the Indicator you are using. For example, if you are using an SMA with a length of 20 candles, you will need 20 candles of warm-up. if you are using 30min candles that would be 10hrs so 1 day is plenty. If you are using 12-hour candles you would need 10 days. And so on.

Here's 2 examples of a DMA (35 candles) plot on 1H candles in the same period.

### Using 10 days lookback:&#xA;

::Image[]{src="https://api.archbee.com/api/optimize/sLyofYuHQt3L9DD4FlP8D/nrQ0_MFqyFvwhPmrkyg9U_image.png" size="70" width="602" height="297" position="center" showCaption="false"}

### Using 1 day lookback:&#xA;

::Image[]{src="https://api.archbee.com/api/optimize/sLyofYuHQt3L9DD4FlP8D/AlTP3wwQ5rTI6gFoLiOZ7_image.png" size="70" width="498" height="287" position="center" showCaption="false"}

We try to auto-update the Lookback value based on the candle you selected, but users should always check to make sure it fits their strategies.


