input.source
Price source dropdown (open, high, low, close, hl2, hlc3, ohlc4, hlcc4). Returns a series float.
input.source(defval: float, title: const string = na, tooltip: const string = na, group: const string = na, inline: const string = na, confirm: const bool = false, display: const string = na, active: const bool = true) -> float
Parameters
defvalfloat: The starting source: open, high, low, close, hl2, hlc3, ohlc4 or hlcc4.titleconst string: The setting's name in the indicator settings.tooltipconst string: Text shown when the pointer rests on the setting.groupconst string: The settings section it goes in; inputs with the same group share a section (default: Inputs).inlineconst string: Inputs next to each other with the same inline name share one row.confirmconst bool: Accepted for compatibility; it has no effect yet.displayconst string: Accepted for compatibility; it has no effect yet.activeconst bool: Accepted for scripts from Pine and ignored: it changes nothing on PROLYNT.
Example
src = input.source(close, "Source")