Data requests / Reference
alerta.ticker.inherit
TradingView-compatible spelling: ticker.inherit, runs without warnings
Pine v6: builds a ticker that inherits the alternative-feed type of `from_tickerid` (HA/Renko/Kagi/PF) but uses a different symbol. From a plain chart the result is simply `symbol`, so `request.security(ticker.inherit(syminfo.tickerid, other), …)` fetches `other`.
alerta.ticker.inherit(from_tickerid, symbol) → stringParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
from_tickerid | string | Yes | — | Reference ticker. |
symbol | string | Yes | — | New symbol to apply the same feed type to. |
Returns
stringExample
alerta.ticker.inherit
ethHA = ticker.inherit(ticker.heikinashi(syminfo.tickerid), "BINANCE:ETHUSDT")Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.