# Ratios

## Chart View

![](/files/-MTjrTCbBZetgVbqsroG)

The ratio indicator can display the P/E ratio and the P/S ratio in the chart at the current price. You can choose between an annual calculation using the last [annual earnings](/fundamental-growth-addon/indicators/earnings-yearly.md) or a rolling calculation using the[ quarterly earnings](/fundamental-growth-addon/indicators/eps.md). Rolling adds the last 4 earnings together to determine the value.

{% hint style="info" %}
If desired, the P/B ratio or similar can also be included in future versions.
{% endhint %}

## Settings

#### Colors

* *Axis Color* \[Color]: Colors of the underrated or overrated axes (Default Dark Gray).
* *Overvalued Color* \[Color]: color above the overvalued axis (Standard Tomato)
* *Neutral Color* \[Color]: color of the gradient between the axes (default Cadet Blue).
* *Undervalued Color* \[Color]: color below the underrated axis (Standard Lawn Green)

#### Input Parameters

* *Ratio* \[P/E Ratio, P/S Ratio]: Should P/E ratio or P/S ratio be calculated?
* *Calculation* \[Rolling, Yearly]: To be calculated on a rolling basis using the sum of the last 4 quarters or via annual earnings
* *Overvalued* \[Value]: At what value is a share overvalued?
* *Undervalued* \[Value]: At what value is a share underated?

{% hint style="info" %}
Typically, P/E is said to be overvalued at > 30 and undervalued at < 10 - but this varies from sector to sector.&#x20;

Typically, P/S is said to be overvalued at > 2 and undervalued at < 1 - but this varies from sector to sector.
{% endhint %}

#### Api-Key

* *Api Key* \[Key]: Is empty if no api key has been set yet, if the api key has already been set in at least one indicator, all others adopt this key.

## Return Values

{% hint style="info" %}
If the ratio is needed as a return value, it can be included in future versions.
{% endhint %}


---

# 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.thinkandtrade.net/fundamental-growth-addon/indicators/ratios.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.
