Utilities / Reference
function-shadowing
User-defined names are resolved within their lexical scope. Avoid reusing builtin namespace names; use explicit namespaces to make a call’s meaning clear.
function-shadowing(float source, int length = 20) => → language constructReturns
language constructExample
function-shadowing
//@version=6indicator("Local names and shadowing")average(float source, int length = 20) => ta.ema(source, length)plot(average(close))Names and aliases
Guides and navigation are localized. Built-in reference descriptions and code examples are maintained in English.