Core / Reference
alerta.ta.crossunder
TradingView-compatible spelling: ta.crossunder, runs without warnings
Returns true if `a` crossed below `b`.
alerta.ta.crossunder(a, b) → series boolParameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
a | series | Yes | — | First series. |
b | series | Yes | — | Second series. |
Returns
series boolExample
alerta.ta.crossunder
const sell = crossunder(sma(close, 10), sma(close, 20))Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.