Home                           

 Try Investor/RT             

 Investor/RT Tour           

 Getting Started              

 What's New                  

 Testimonials                 



MASTER INDEX
  SEARCH
  CHARTS
  MAIN TOOLBAR
  SETTING PREFERENCES
  TECHNICAL INDICATORS
 
WHAT'S NEW
  ALARMS
  BACKTESTING

  CONFIRMING TRADES
  CUSTOM COLUMNS
  CUSTOM INDICATORS
  CUSTOM INSTRUMENTS
  CUSTOM PRICES
  DATA FEEDS
  DATABASE
  DOWNLOADING DATA
  FEED STATUS
  HEARTBEAT
  HELP
  MULTI-LINKING
  MULTI-PERIODICITY
 
INSTRUMENT SETUP
 
NASDAQ LEVEL II
 
NEWS TICKER
 
NEWS BROWSER
  OPTIMIZATION
  OPTIONS ANALYTICS

  PLACING TRADES
  PORTFOLIOS
  PRESETS
 
PRINTING
  QUICK QUOTES
  QUOTE PAGES
  REALIZATION
  RTL LANGUAGE
  SCANS
  SCHEDULES

  SCOPE
  SYSTEM STATUS
  TICKER TAPE
  TIME AND SALES

 
TRADING NOTES
  USER VARIABLES
  VERTICAL SCALE
MASTER INDEX
DICTIONARY
FEEDBACK


Indicator-A-Day
 24. Volume Breakdown
 23. PriceTime Cycles
 22. Trend Intensity Index
 21.
Bollinger Bands
 20.
Balance of Power
 19. RSI
 18.
Fib Retracements
 17. Parabolic SAR
 16.
CCI
 15. ADXR
 14.
ADX
 13.
DI+ / DI-
 12.
True Range
 11.
Stochastics
 10. Statistics

   9. TLB Oscillator
   8. Weighted MA
   7. Exponential MA
   6. Moving Average
   5. Regression Review
   4. Reg Acceleration
   3. Regression Slope
   2. Regression Bands
   1. Linear Regression

 

Investor/RT Tour ( more on Technical Indicators )
Stochastics (RAWK, FASTD, SLOWD)
The Formula . . . 

. . .more on Formulas 

Raw %K = 100 * [CL - MIN(LO, n)] / [MAX(HI, n) - MIN(LO, n)]
     n = Raw K Period
Fast %D = MA(Raw K, MA Type, Fast D Period)
Slow %D = MA(Fast D, MA Type, Slow D Period)

Note: "Raw %K" is commonly referred to in other programs as simply "%K".  "Fast %D" is commonly referred to as simply "%D", or sometimes even "Slow %K".  "Slow %D" is also referred to as "%DSlow".

 
The Presentation . . . 

. . . more on Charts 

Stochastics Indicator

Above is a Daily Chart of the Microsoft (MSFT).  The bold red line in the lower window pane corresponds to the Relative Strength of MSFT relative to COMPX (Nasdaq).  The settings correspond to those set in the preferences below.

 
The Preferences . . . 

. . . more on Preferences 

Stochastics Preferences

  • Raw K - Check this box to have the Raw Stochastics line (Raw K) drawn.
  • Fast D - Check this box to have the Single Smoothed Stochastics line (Fast D) drawn.
  • Raw K - Check this box to have the Double-Smoothed Stochastics line (Slow D) drawn.
  • Raw K Period - Period used for the raw stochastics calculation.  This period is used to establish the range.
  • Fast D Period - Period used to smooth the raw stochastics values and produce the Fast D values.
  • Slow D Period - Period used to smooth the Fast D values and produce the double-smoothed Slow D values.
  • Raw K Color - Color and style of the Raw K line.
  • Fast D Color - Color and style of the Fast D line.
  • Slow D Color - Color and style of the Slow D line.
  • Moving Average Type - Type of smoothing used when computing the Fast D and Slow D values.
  • Unbounded - When checked, the RawK values are allowed to go outside the 0 to 100 boundaries imposed by the standard stochastic indicator (more).
  • Retracement Based - The “Retracement Based” checkbox in the Stochastic preferences results in a value that represents the true retracement percentage based on the RawK period specified. (more)
  • Use High/Low - This option pertains to "Retracement Based" stochastic only.  Uses the high and low in place of the close in the calculation of the RawK.  The low is used when the low occurred more recently that the high.  The high is used when the high of the period occurred more recently than the low.
  • Reference Lines - It's recommended to draw reference levels at 25 and 75 percent. 
 
The Description . . .
Stochastic is a momentum or price velocity indicator developed by George C. Lane.

Stochastic measures the position of a stock compared with its most recent trading range over the period specified (Raw K period). Specifically, it measures the relationship between the closing price of a stock and its high and low during a specific number of bars (minutes, days, weeks, etc). As a stock price rises, the closing price tends to be closer to the extreme highs of the stock, and as prices fall, the closing price tends to fall closer to the extreme lows.  This raw stochastic value is called Raw K.  The Raw K is then smoothed with a simple moving average (using the Fast D period specified) to produce the Fast D.  A second simple smoothing can then be performed on the Fast D to produce the stochastics Slow D value.  Stochastics values indicate overbought and oversold regions.

Mathematically, the Raw K stochastic indicator is calculated as follows: 

Raw K = 100 * [CL - MIN(LO, n)] / [MAX(HI, n) - MIN(LO, n)]
   where n = Raw K Period


The Raw K line is then smoothed with a simple moving average to yield a Fast D line. The Fast D line is optionally smoothed again with a simple moving average to yield a Slow D line.

Fast D = MA(Raw K, Simple, Fast D Period)
Slow D = MA(Fast D, Simple, Slow D Period)


The Fast D value (single-smoothed raw stochastics) represents the value most people are referring to when they mention Stochastics.  When the Fast D crosses above the 75 line, this is considered overbought condition and a possible selling opportunity. The closing price is near the top of the recent trading range and a correction could be coming.  When the Fast D starts falling, the top may have been established, and a new downtrend is considered when the Fast D indicator crosses the below the 75 line

When the Fast D crosses below the 25 line, this is considered oversold condition and a possible buying opportunity. The closing price is near the bottom of the recent trading range and a correction could be coming.  When the Fast D starts rising, the bottom may have been established, and a new uptrend is considered when the Fast D indicator crosses above the 25 line.

Price trend reversals can be signaled when the Fast D line diverges from price. That is, when price makes a new high while Fast D is falling, a change of trend to the downside is indicated. If price makes a new low with Fast D rising, look for a reversal to the upside. Actual buy/sell signals are indicated when the Fast D line crosses above (buy) or below (sell) the Slow D line.

Signals are also produced when the Fast D crosses it's moving average (the Slow D).  A buy signal is given when the Fast D crosses above Slow D, and a sell signal is given when the Slow D moves above Fast D. 

Retracement Based
The classic Lane Stochastic calculation method dictates that the RawK represent the position of current price in relation to a recent range. This position is measured as the percentage of the distance from the low to the high. If the low of the period was 50 and the high was 70, then a current price of 65 would represent RawK of 75% while a current price of 55 would represent a RawK of 25%. From a retracement perspective, Stochastic always assumes that the high occurred first, the trend was a downtrend, and retracement is now occurring back towards the high. The RawK of the Stochastic indicator is not smart enough to know which came first, the high or the low. The “Retracement Based” checkbox in the Stochastic preferences gives the RawK value this knowledge, and therefore results in a value that represents the true retracement percentage based on the RawK period specified. This option is very similar to the “auto-retracement” option of the Fibonacci Retracement study, except it gives the ability to view the values historically, and to reference them historically in the RTL language.

Unbounded Stochastic
A new checkbox has been added to the Stochastic indicator preferences. When checked, the RawK values are allowed to go outside the 0 to 100 boundaries imposed by the standard stochastic indicator. The RawK is computed as a relative position of the closing price within the range of the "previous" n bars (n being the RawK period). The only difference being that the range of the unbounded stochastic does not consider the current bar, thus allowing the close to go outside of that range. The standard stochastic indicator includes the current high and low in it's calculation of that range, thus never allowing the closing price to exceed the bounds of that range (since it must lie between the high and low of current bar). The difference between the calculations can be seen in the expressions below:

Standard Stochastic
Raw %K = 100 * [CL - MIN(LO, n)] / [MAX(HI, n) - MIN(LO, n)]

Unbounded Stochastic
Raw %K = 100 * [CL - MIN(LO.1, n)] / [MAX(HI.1, n) - MIN(LO.1, n)]

The unbounded stochastic provides additional information as to the strength of the move/trend that the standard stochastic can often hide. The unbounded option makes it easy to spot strong breakouts with values below 0 or above 100.

 
RTL Tokens . . . RAWK, FASTD, and SLOWD ( more )

The Stochastics indicator has 3 tokens in RTL to represent the raw stochastics (RAWK), the smoothed stochastics (FASTD), and the double-smoothed stochastics (SLOWD).  When using RAWK, only the RAWK period is relevant.  When using FASTD, only the RAWK and FASTD periods are relevant.  When using SLOWD, all three periods are used.   For example, if you were looking for the FASTD to cross above the SLOWD line (a buys signal), you would use the following syntax in a scan...

FASTD > SLOWD AND FASTD.1 <= SLOWD.1

To find the Stochastics of RSI, the following syntax would be used in a custom indicator...

FASTD(RSI)

To draw the Stochastics Oscillator, the following syntax would be used in a custom indicator...

FASTD - SLOWD
 

Keyboard Adjustment . . .
Several preferences of the Stochastics indicator can be adjusted directly from the keyboard without opening up the preference window.  First, select the indicator, then use the up and down arrow keys to adjust the Raw K period up or down by 1.  To adjust the Fast D period, hold down the shift-key while hitting the up or down arrow keys.  To adjust the Slow D period, hold down the ctrl-key while hitting the up or down arrow keys.  For more information on technical indicator adjustment, click here.
User Strategies . . . 
If you have a User Strategy you'd like to share, please email to support@linnsoft.com  
   Chad Payne   03/12/02
    
I would like to get an indication of how everyone trades Stochastics. It
seems to me that there are (at least) two methods.... (the below is on the
buy side only)

1. FASTD falls below 25. The region below 25 is considered oversold.
Should the buy signal occur when FASTD crosses below the 25 line...

FASTD < 25 AND FASTD.1 >= 25

....when FASTD bottoms out (swings up)...

FASTD > FASTD.1 AND FASTD.1 <= FASTD.2

...or when the FASTD rises back above the 25 level...

FASTD > 25 AND FASTD.1 <= 25

2. FASTD crosses above SLOWD

FASTD > SLOWD AND FASTD.1 <= SLOWD.1

or maybe...

3. FASTD crosses above SLOWD below the 25 line....

FASTD < 25 AND FASTD > SLOWD AND FASTD.1 <= SLOWD.1


Which method do you use?

Also, which have you found are the best settings to use for specific
periodicities. For example, you may be using a Simple - 14, 5, 3 setup for
3-minute bars with success.

We are considering adding an "Oscillator" option to the stochastics
indicator (similar to the way we've done it in MACD). We feel that the
oscillator should represent the following...

FASTD - SLOWD

But we have discussed possible options for showing...

RAWK - FASTD

..or...

RAWK - SLOWD

Any comments regarding these options are also welcomed...

Look forward to hearing your feedback...

Chad
   Steven Kessler   03/12/02
    
Based on what I've read, the classic buy signals on Stochastics are:

- below 20 and turn up (the 'stochastic hook')

- cross up thru 20 from below

- FASTD crosses above SLOWD below 20
     FASTD > SLOWD AND FASTD.1 <= SLOWD.1 AND FASTD < 20

- divergence relative to price (lower low in price, higher low in stochastic)

Hope this helps.
Steven