Join Now or Login or connect with

Trading Software Trading objects Features Blog Search

This is a trading object shared by a member. You can use this object as well as hundreds of others with QuantShare - Trading Software.
Click on the Like button or on one of the share buttons to share this object and spread the word about QuantShare.
QuantShare is an advanced trading software for stock, forex, futures, ETF and options markets. It is the best and the most complete EOD trading software software and it is FREE (beta version).

Detrended Price Oscillator

by Brian Brown, 251 days ago
Share |

The Detrended Price Oscillator is an indicator used as a long or short signal. In fact, the DPO eliminates cycles that are longer than the moving average period. It leaves thus short-term trends, and it allows both overbought and oversold levels to be detected more accurately. These levels are used with DPO to generate signals; when DPO goes below the upper (overbought) one, which means that the bulls are tired and that the bears are going to dominate the market, you should go short. When the DPO goes up the lower (oversold) line, that means the opposite situation, and you ought then to go long because the market is going to become bullish.

DPO formula is quite simple and its coding does not require from you more than one or two lines. You have first to specify an N-bar period; you calculate the simple moving average of the close price over that period, and then you shift the result N/2 + 1 bars back. You finally subtract the result from the daily close price.

The function I have written takes as argument a time frame (the SMA period multiplied by 2) and returns as result the DPO indicator time-series for that time frame. Therefore, if your time frame is of 40 days, the function calculates the SMA over 20 days and shifts it 11 days back.
Generally, a 20 bars time frame or window value is used.

Other trading indicators:
Klinger Volume Oscillator
Relative Momentum Index
SafeZone Stop
Choppiness Index


Share This ->
Share |


You have to log in to bookmark this object
What is this?
Additional Information





Related Trading Objects



Country
Page 1
Wilder Volatility Index - Average True ..
by Brian Brown, uploaded one month ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 4 Notes Report an item
Wilder Volatility Index - Average True ..
by Brian Brown, uploaded one month ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
Geometric Moving Average Indicator
by Brian Brown, uploaded one month ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






Market
Page 1
Fibonacci Trading Indicator - Support a..
by QuantShare, uploaded today
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Fibonacci Trading with the Retracement ..
by QuantShare, uploaded yesterday
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Williams AD - Accumulation Distribution..
by QuantShare, uploaded one week ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






Style
Page 1
Fibonacci Trading Indicator - Support a..
by QuantShare, uploaded today
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Fibonacci Trading with the Retracement ..
by QuantShare, uploaded yesterday
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Williams AD - Accumulation Distribution..
by QuantShare, uploaded one week ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects
Show All
Buy Indicator (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 56 Notes Report an item
Yahoo EOD historical quotes (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 417 Notes Report an item
Simple pattern detection rules using close and open prices (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 39 Notes Report an item
The DeMark's DeMarker indicator (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 18 Notes Report an item
Price and Volume Trend (by Patrick Fonce, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 12 Notes Report an item
Indicator -> Moving average -> Rate of change -> Trading rule (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 26 Notes Report an item
Fibonacci retracement: Golden ratio (by bug man, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 25 Notes Report an item
Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis


Random Objects

  4 0 0 - Money Flows - Selling on Strength
 59 0 0 - US Options symbols N-Z
  2 0 0 - Bankruptcy Filings
 36 0 0 - Singapore Stock Exchange
  4 0 0 - Better Volume Indicator
 10 0 0 - Futures, Forex and Indices Data
 22 1 5 - NSE Derivatives
  4 0 0 - Choppiness Index
  1 0 0 - Currency Trading News from Yahoo - Forex Market
  2 0 5 - Chande TrendScore By Symbol
More trading objects...


Recent Posts

Pivot Tables in QuantShare Trading Software
Posted 9 days ago

How to create market indicators using the composite function - Part 1
Posted 17 days ago

Optimize a trading strategy using the Sharpe ratio
Posted 24 days ago

How to create a trading indicator that uses stock news
Posted 31 days ago

How to create your own technical analysis indicators
Posted 38 days ago

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object


contactus
About | Privacy | Terms of Use | Manual
Copyright © 2010 QUANTSHARE.COM