+1 (307) 227-6611

Free risk tools

Detrended price oscillator calculator

The trend taken out of the price, so the short swings and their rhythm show.

Free, no sign-up On sale: Desk and Desk + Signals. See the plans

  • Free
  • No sign-up
  • Nothing you type is stored

The closes

Oldest first, split by commas or spaces.
20 is common. It compares the close half a period back with the average.

The detrended oscillator

The 20-bar detrended price oscillator is -10.54. The close 11 bars ago is below the 20-bar average. It crossed below zero on the last bar.

The numbers
The close 11 bars ago was 2,332.10 and the 20-bar average is 2,342.64. The oscillator last peaked 1 bar ago, at +0.44, and last bottomed 4 bars ago, at -21.08.
How it is read
With the trend taken out, what is left are the short swings. Many traders count the bars from one peak to the next to judge how long a swing lasts.
Read it with care
It looks back on purpose: the latest value describes the close 11 bars ago, so it is not a signal for the next bar. Rhythms change and do not have to repeat.

The oscillator on the last bars. The last bar is marked.

BarClose 11 backAverageOscillator
7 ago2,347.502,313.93+33.57
6 ago2,313.502,316.77-3.27
5 ago2,308.102,319.29-11.19
4 ago2,301.902,322.98-21.08
3 ago2,316.302,327.70-11.40
2 ago2,329.802,333.01-3.21
1 ago2,338.502,338.06+0.44
Last2,332.102,342.64-10.54

Education only, not investment advice. The answer comes from the numbers you typed in, not from your account or the market. Simulated results are hypothetical and have limits: real trading has slippage, gaps, changing results and emotions. Trading leveraged products can lose money quickly, including all of it. Risk warning

Want this check on every trade?

Educational only, not financial advice; trading involves risk.

Swings without the trend

A rising market lifts every oscillator, so the swings inside the trend are hard to see. The detrended price oscillator takes the close from half a period back and subtracts the moving average over the whole period. The trend falls out; the ups and downs around it stay, and the gaps between their peaks show how long a swing lasts.

See the trend itself with the moving average calculator, read momentum with the Chande momentum oscillator, and size the trade with the position size calculator.

Not advice. Arithmetic on the closes you type; an indicator describes the past bars, not the next one.

Next tools

All free tools

Pricing

Three ways in. Pick yours.

Baroq never holds your money and never trades for you. Educational only, not financial advice; trading involves risk.

Test your trading idea free

No spam. Unsubscribe anytime.

Educational only, not financial advice; trading involves risk.

or join us on Telegram