> For the complete documentation index, see [llms.txt](https://klickanalytics.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://klickanalytics.gitbook.io/docs/tools/custom-formula.md).

# Custom Formula

Create, store, and monitor your own **custom-created formulas** or indices or benchmark by **applying a mathematical expression** to an underlying set of any global instruments in the KlickAnalytics universe.

<figure><img src="/files/BHM9OTScdWs8nBiH4poY" alt=""><figcaption></figcaption></figure>

**Filters**

You can select the date range of your choise to run your custom formula.\
\
**Formula**

* You can create an index with a mathematical expression.
* You can use +, -, \*, /  operators to construct your expression

**Historical Chart**

* View the historical chart on index.
* The chart is highly interactive. ie. You can zoom in/out.
* When hover on line chart, it will display corresponding price information.

**Sharing**&#x20;

You can share the custom index to all KlickAnalytics users too

The possibilities are endless, now our users can mix and match any global symbols to create their own expressions.

<figure><img src="/files/kODzMAo8KT8sBa8Ohpum" alt=""><figcaption></figcaption></figure>

**To access:** Click on the top menu item called Tools > [Formulas](https://www.klickanalytics.com/custom_formulas)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://klickanalytics.gitbook.io/docs/tools/custom-formula.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.
