Finance:Stochastic oscillator

From HandWiki
Revision as of 23:59, 26 June 2023 by Steve2012 (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In technical analysis of securities trading, the stochastic oscillator is a momentum indicator that uses support and resistance levels. George Lane developed this indicator in the late 1950s.[1] The term stochastic refers to the point of a current price in relation to its price range over a period of time.[2] This method attempts to predict price turning points by comparing the closing price of a security to its price range. The 5-period stochastic oscillator in a daily timeframe is defined as follows:

[math]\displaystyle{ \%K = 100\times\frac{\mathrm{Price}-\mathrm{Low}_5}{\mathrm{High}_5-\mathrm{Low}_5} }[/math]

[math]\displaystyle{ \%D_N = \frac {\%K_1+\%K_2+\%K_3+...\%K_N}{N} }[/math]

where [math]\displaystyle{ \mathrm{High}_5 }[/math] and [math]\displaystyle{ \mathrm{Low}_5 }[/math] are the highest and lowest prices in the last 5 days respectively, while %D is the N-day moving average of %K (the last N values of %K). Usually this is a simple moving average, but can be an exponential moving average for a less standardized weighting for more recent values. There is only one valid signal in working with %D alone — a divergence between %D and the analyzed security.[3]

Definition

The calculation above finds the range between an asset's high and low price during a given period of time. The current security's price is then expressed as a percentage of this range with 0% indicating the bottom of the range and 100% indicating the upper limits of the range over the time period covered.[citation needed] The idea behind this indicator is that prices tend to close near the extremes of the recent range before turning points. The Stochastic oscillator is calculated:

[math]\displaystyle{ \%K = \frac {\mathrm{Price}-\mathrm{Low}_N}{\mathrm{High}_N-\mathrm{Low}_N}\times 100 }[/math]

[math]\displaystyle{ \%D = \frac {\%K_1+\%K_2+\%K_3}{3} }[/math]

Where
[math]\displaystyle{ \mathrm{Price} }[/math] is the last closing price
[math]\displaystyle{ \mathrm{Low}_N }[/math] is the lowest price over the last N periods
[math]\displaystyle{ \mathrm{High}_N }[/math] is the highest price over the last N periods
[math]\displaystyle{ \%D }[/math] is a 3-period simple moving average of %K, [math]\displaystyle{ \mathrm{SMA}_3(\%K) }[/math].
[math]\displaystyle{ \%D\mathrm{-Slow} }[/math] is a 3-period simple moving average of %D, [math]\displaystyle{ \mathrm{SMA}_3(\%D) }[/math].

A 3-line Stochastics will give an anticipatory signal in %K, a signal in the turnaround of %D at or before a bottom, and a confirmation of the turnaround in %D-Slow.[4] Typical values for N are 5, 9, or 14 periods. Smoothing the indicator over 3 periods is standard.

According to George Lane, the Stochastics indicator is to be used with cycles, Elliott Wave Theory and Fibonacci retracement for timing. In low margin, calendar futures spreads, one might use Wilders parabolic as a trailing stop after a stochastics entry. A centerpiece of his teaching is the divergence and convergence of trendlines drawn on stochastics, as diverging/converging to trendlines drawn on price cycles. Stochastics predicts tops and bottoms.

Interpretation

The signal to act is when there is a divergence-convergence, in an extreme area, with a crossover on the right hand side, of a cycle bottom.[3] As plain crossovers can occur frequently, one typically waits for crossovers occurring together with an extreme pullback, after a peak or trough in the %D line. If price volatility is high, an exponential moving average of the %D indicator may be taken, which tends to smooth out rapid fluctuations in price.

Stochastics attempts to predict turning points by comparing the closing price of a security to its price range. Prices tend to close near the extremes of the recent range just before turning points. In the case of an uptrend, prices tend to make higher highs, and the settlement price usually tends to be in the upper end of that time period's trading range. When the momentum starts to slow, the settlement prices will start to retreat from the upper boundaries of the range, causing the stochastic indicator to turn down at or before the final price high.[5]

Stochastic divergence

An alert or set-up is present when the %D line is in an extreme area and diverging from the price action. The actual signal takes place when the faster % K line crosses the % D line.[6]

Divergence-convergence is an indication that the momentum in the market is waning and a reversal may be in the making. The chart below illustrates an example of where a divergence in stochastics, relative to price, forecasts a reversal in the price's direction.

An event known as "stochastic pop" occurs when prices break out and keep going. This is interpreted as a signal to increase the current position, or liquidate if the direction is against the current position.[7]

See also

References

  1. "Stochastic Indicator [ChartSchool"]. http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:stochastic_oscillator_fast_slow_and_full. 
  2. Murphy, John J. (1999). "John Murphy's Ten Laws of Technical Trading ".
  3. 3.0 3.1 Lane, George M.D. (May/June 1984) “Lane’s Stochastics,” second issue of Technical Analysis of Stocks and Commodities magazine. pp 87-90.
  4. Lane, George C. & Caire (1998) "Getting Started With Stochastics" pg 3
  5. Person, John L (2004). A Complete Guide to Technical Trading Tactics: How to Profit Using Pivot Points, Candlesticks & Other Indicators. Hoboken, NJ: Wiley. pp. 144–145. ISBN 0-471-58455-X. 
  6. Murphy, John J (1999). Technical Analysis of the Financial Markets: A Comprehensive Guide to Trading Methods and Applications. New York: New York Institute of Finance. p. 247. ISBN 0-7352-0066-1. 
  7. Bernstein, Jake (1995). The Complete Day Trader. New York: McGraw Hill. ISBN 0-07-009251-6. https://archive.org/details/compleatdaytrade0000bern. 

External links