input.timeframe

Timeframe input, e.g. "60" or "1h" ("" = the chart timeframe). Returns an input string.

input.timeframe(defval: const string, title: const string = na, options: 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) -> string

Parameters

Example

htf = input.timeframe("1h", "Higher timeframe")