## Kase Peak Oscillator Clone for Amibroker (AFL)

The PeakOscillator plot is used similarly to traditional oscillators but is derived from a mathematically sound, statistical evaluation of trend that evaluates over 50 different trend lengths, rather than just two as the traditional oscillator does. It automatically adapts for cycle length and volatility changes.

The PeakOscillator is “universal” in that it scales to volatility, and can be compared over differing commodities and time frames.

Two other features of the PeakOscillator are the PeakMax and PeakMin lines.

The PeakMax line is the maximum of the 2 standard deviations of the local PeakOscillator reading and the 90th percentile of momentum, historically. The PeakMin is the minimum of the two.

**Interpretation:**

The PeakOscillator is used two ways.

Divergence — The PeakOscillator may be used to generate traditional divergence signals. The difference between it and traditional divergence indicators lies in its accuracy.

PeakOut — The second use is to look for a PeakOut. A PeakOut occurs when the histogram breaks beyond the PeakOut line and then pulls back.

A PeakOut through the maximum line will be labeled PG (Global PeakOut) on the chart. A PeakOut that only extends through the PeakMin line is called a local PeakOut and will be labeled PL on the chart. A local PeakOut is less significant than a normal PeakOut signal. These local PeakOuts are to be relied upon more heavily during sideways or corrective markets.

PeakOuts may be based on either the Maximum Line or the Minimum Line. Global PeakOuts, however, are rarer and therefore more significant than a Local PeakOut. The magnitude of the price move may be greater following the Global PeakOut, but the likelihood of the break in trend is essentially the same. Thus, our research indicates that we should react equally to a Global PeakOut in a trendy market and a Local PeakOut in a choppy or corrective market.

Here is a screenshot of how the indicator looks:

Submitted by kaiji about 5 years ago

## Similar Formulas

- Kase DevStop II Clone
- Kase Peak Oscillator Clone V2
- Kase CD Clone
- Mndahoo ADX 2
- 3 Days Track
- DMI Spread

## Formula

You must be a member to view this formula and have contributed at least 1 formulas. Please login or register.

## 6 Comments

The yellow bars signifying an increasing divergence which is a bullish sign. The red bars on the other hand signifying a decreasing divergence which is a bearish sign. The Green line is your buy and sell line when it is below zero you buy and when it is above zero you sell.

I hope this clarifies the indicator.

**5.**iwan

Suitable for my style trading (like as the best timing “entry and exit”), thanks for this powerful AFL.

Please login here to leave a comment.

1.sudhir12192Can you explain the colours bars and the process to follow it?