On the chart
- A separate pane below the chart: the “DPO” line and a dotted 0 level.
Signals and alerts
- The “DPO” line is an alert subject: crossing up or down, above or below — against the 0 level, a number or another line; a rise or fall by a set amount.
- The alert window preselects DPO crossing 0.
How it is calculated
- DPO = source − SMA(source, length) taken ⌊length/2⌋ + 1 bars back.
- Not centered: the value sits on its own bar rather than being shifted into the past.
Settings
- Length — 21, Source — close.
- Calculation TF — empty: the chart timeframe; otherwise the line is calculated on the given higher timeframe.
- Style — line colour.
The indicator is a chart analysis tool, not trading advice or a promise of profit. Trading on financial markets carries a risk of losing money.