Home/Dovee/Function reference

envlower

Moving-average envelope, lower

Reference/Bands & channels/Function

envlower(source, length, percent)

SMA shifted down by percent. Same arguments as envupper.

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 14
Lookback in bars. Default 14.

Return value

series

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

Example

when close crosses below envlower(20) then buy

See also