Metadata / Reference
alerta.input.timeframe
TradingView-compatible spelling: input.timeframe, runs without warnings
Creates a timeframe input suitable for request.security.
alerta.input.timeframe(defval, title) → stringParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
defval | string | Yes | — | Default timeframe (e.g. "60", "D"). |
title | string | No | — | Input title. |
Returns
stringExample
alerta.input.timeframe
tf = input.timeframe("60", "HTF")plot(close, { title: "Selected TF Input" })Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.