Skip to main content

get_name

Syntax Format

get_name(series)

Overview

The get_name function returns the name of a specified series. You can include this function in scripts with various series being used, to quickly identify a series for further use.

Parameters

ParameterTypePurpose
seriesseriesThe series whose name is to be retrieved

Returns: string.

Example

series_name = get_name(close)
print("Series name:", series_name)