Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

Projection Oscillator for Amibroker (AFL)
about 13 years ago
Amibroker (AFL)

3 / 5 (Votes 6)
trading system, amibroker

Developed by Mel Widner, Ph.D., the Projection Oscillator is a by-product of his Projection Bands (see Projection Bands). The Projection Oscillator is basically a slope-adjusted Stochastic. Where the Stochastic Oscillator (see Stochastic Oscillator) shows the relationship of the current price to its minimum and maximum prices over a recent time period, the Projection Oscillator shows the same thing, but the minimum and maximum prices are adjusted up/down by the slope of the prices regression line. This adjustment makes the Projection Oscillator more responsive to short-term price moves than an equi-period Stochastic.
Put another way, the Projection Oscillator shows where the current price is relative to the Projection bands. A value of 50 indicates that the current price is exactly in the middle of the bands. A value of 100indicates that prices are touching the top band. A value of 0 indicates that prices are touching the bottom band.


The Projection Oscillator can be used as both a short- and intermediate-term trading oscillator depending on the number of time periods used when calculating the oscillator. When displaying a short-term Projection Oscillator(e.g., 10-20 days), it is popular to use a 3-day trigger line.
There are several ways to interpret a Projection Oscillator.

Overbought/oversold. Buy when the oscillator falls below a specific level (e.g., 20) and then rises above that level, and sell when the Oscillator rises above a specific level (e.g., 80) and then falls below that level. High values (i.e., above 80) indicate excessive optimism. Low values (i.e., below 20) indicate excessive pessimism.

However, before basing any trade off of strict overbought/oversold levels, you should first qualify the trendiness of the market using indicators such as r-squared (see r-squared) or CMO (see Chande Momentum Oscillator). If these indicators suggest a non-trending market, then trades based on strict overbought/oversold levels should produce the best results. If a trending market is suggested, then you can use the oscillator to enter trades in the direction of the trend.

Crossovers. Buy when the oscillator crosses above its trigger (dotted) line and sell when the oscillator crosses below its trigger line. You may want to qualify your trades by requiring that the crossovers occur above the 70 level or below the 30 level.

Divergences. You may consider selling if prices are making a series of new highs and the oscillator is failing to surpass its previous highs. You may consider buying if prices are making a series of new lows and the oscillator is failing to surpass its previous low. You may qualify your trades by requiring that the divergence occur above the 70 level orbelow the 30 level.

Thanks to Ed and Aequalsz from Amibroker Yahoo group for develoment of function and better coding.

By Hans – Hansib [at]

Similar Indicators / Formulas

EMA crossover
Submitted by Ketan-0 over 12 years ago
Kase Peak Osc. V2 batu
Submitted by batu1453 almost 9 years ago
Kase CD V2batu
Submitted by batu1453 almost 9 years ago
Submitted by prashantrdx almost 9 years ago
Adaptive Price Zone (APZ)
Submitted by AndrewThomas over 12 years ago
LANDIS Modified
Submitted by isfandi over 12 years ago
You cannot view the code for the following reasons:
  • You must be a member.


Leave Comment

Please login here to leave a comment.