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
| Parameter | Type | Purpose |
|---|---|---|
| series | series | The series whose name is to be retrieved |
Returns: string.
Example
series_name = get_name(close)
print("Series name:", series_name)