Documentation/AlgoCode/Function reference

ppoline

Percentage Price Oscillator line

Reference/Oscillators/Function

ppoline(source, fast, slow, signal)

MACD as a percent of the slow EMA. Defaults 12, 26, 9. Sisters: pposignal, ppohist.

Return value

series

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

Example

oscillator
plot ppoline() as "PPO"
plot pposignal() as "Signal"
when ppoline() crosses above pposignal() then buy

See also