The Detrended Price Oscillator — Creating & Back-testing in Python.

Coding and Back-testing the Detrended Price Oscillator in Python.

Sofien Kaabar, CFA
DataDrivenInvestor
Published in
10 min readApr 26, 2021

--

www.pxfuel.com

Contrarian indicators come in different shapes and colors. The Detrended Price Oscillator is one famous color that aims to capture peaks and troughs through market cycle concepts. In this article, we will create the indicator from scratch and…

--

--