Home/Dovee/Function reference

linreglower

Linear regression lower

Reference/Bands & channels/Function

linreglower(source, length, deviation)

Least-squares endpoint minus residual deviation.

Parameters

NameTypeDescription
sourceoptionalseries
default close
Series to use. Omit it when the first argument is a number — ema(9) means ema(close, 9).
lengthint
default 100
Lookback in bars. Default 100.

Return value

series

Short form: if the first argument is a number, Dovee uses close as the source.

Example

plot linreglower(100) as "Lower"

See also