Skip to main content

upper_prime

Syntax Format

upper_prime(series)

Overview

The upper_prime function provides the prime number value, which is the closest to the current value, but not lesser. The function can be used in calculations, related to support and resistance levels.

Parameters

ParameterTypePurpose
seriesseriesInput series, taken into calculation

Returns: series.

Example

up_value = upper_prime(close)