# Threshold Scripts

{% hint style="info" %}
Threshold Scripts use historical performance to calculate statistical thresholds against which to measure current conditions so that a trend can be identified.
{% endhint %}

The below Threshold Scripts are included with TrendSeeker. However, you can create your own scripts to calculate whatever statistical measurement meets your needs:

* *Average + 1 Standard Deviation*
* *Average - 1 Standard Deviation*
* *Highest Value*
* *Lowest Value*

<figure><img src="/files/OyhPwhdetHT6Iv3HIdbp" alt=""><figcaption><p>TrendSeeker Script</p></figcaption></figure>


---

# 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.yansalabs.com/trendseeker/technical-docs/threshold-scripts.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.
