# Ratios

The ratio indicator can put P/S and P/E ratio in the chart, this is calculated with the current price and the fundamental data.

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 or a rolling calculation using the quarterly earnings. Rolling adds the last 4 earnings together to determine the value.

If desired, the P/B ratio or similar can also be included in future versions.

*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)

*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?

Typically, P/E is said to be overvalued at > 30 and undervalued at < 10 - but this varies from sector to sector.

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

*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.

If the ratio is needed as a return value, it can be included in future versions.

Last modified 1yr ago