# Offset Candle

## Offset Candle & Extrapolation Documentation

Runbot now introduces a powerful new feature called **Offset Candle**. This functionality allows indicator calculations even before the candle officially closes, providing Runbot members with an early advantage edge over retail traders.

### Key Advantages:

* **Early Trading Opportunities:** Trade before candle closure to get ahead of other traders, resulting in reduced slippage, improved entry prices and more, it's an unique edge on the market.
* **Avoid Candle Manipulation:** Avoid deceptive price movements occurring in the final moments of candle formation that can produce misleading indicator signals.

### How It Works:

* **Compute Triggers:** Select your preferred timing to compute triggers:

<figure><img src="/files/am7LwFN2pBXn2nQeG1Cf" alt="" width="563"><figcaption></figcaption></figure>

* At candle close
* 1 minutes before close
* 5 minutes before close
* 15 minutes before close

Some indicators might provide you different minutes / seconds of candle close.

* **Calculate Close Price (Extrapolation Methods):** Choose the extrapolation method best suited for your market conditions to predict the candle's closing price effectively:

<figure><img src="/files/Jge19Dk0fk4yTz0JAhWF" alt="" width="537"><figcaption></figcaption></figure>

* **Sinewave Extrapolation:** Ideal for sideways or ranging markets.
* **Parabolic (Quadratic) Extrapolation:** Optimal in trending market conditions.
* **Linear Extrapolation:** Balanced approach effective in both ranging and trending markets.
* **Last Trade Price:** Best suited for short timeframes and low liquidity markets.

#### Visualizing & Customizing Indicators:

* Indicators and tickers can now be visualized directly on your charts with the selected offset.
* You can individually adjust the offset mode for market data per indicator, allowing tailored and precise trading strategies.

### Practical Usage:

<figure><img src="/files/bZsUkqVYUSz2Dn1ZnIEK" alt="Runbot indicator&#x27;s offset calculation feature" width="563"><figcaption><p>Runbot indicator's offset calculation feature</p></figcaption></figure>

1. Open your Market Data settings.
2. Choose your preferred Compute Trigger timing.
3. Select the appropriate Extrapolation Method based on market conditions.
4. Apply your settings and view indicators and triggers in real-time.

With this feature, Runbot equips you with the precision and adaptability needed to stay ahead of market movements and trade with enhanced confidence.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.runbot.io/strategy-boxes/indicators-box/offset-candle.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
