Skip to content
AlertaChartAlertaScript / docs
AlertaScript / alerta.ta.mfi
On this pageSignatureParametersReturnsExample

Volume / Reference

alerta.ta.mfi

TradingView-compatible spelling: ta.mfi, runs without warnings

Calculates MFI indicator. Accepts mfi(high, low, close, volume, length) or ta.mfi(source, length).

alerta.ta.mfi(high, low, close, volume, length) → series float

Parameters

NameTypeRequiredDefaultDescription
highseries floatYes—High price.
lowseries floatYes—Low price.
closeseries floatYes—Close price.
volumeseries floatYes—Volume.
lengthintYes—Length.

Returns

series float

Example

alerta.ta.mfi
plot(mfi(high, low, close, volume, 14), { pane: "oscillator" })

Names and aliases

Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.

AlertaScript

No results found.

Search by name, alias, or keyword.