How Can We Help?
Stochastic Oscillator
SOPK(%K Periods, %K Slowing Periods, %D Periods, MA Type)
SOPD(%K Periods, %K Slowing Periods, %D Periods, MA Type)
Overview
The Stochastic Oscillator is a popular indicator that shows where a security’s price has closed in proportion to its closing price range over a specified period of time.
Interpretation
The Stochastic Oscillator has two components: %K (the SOPK function) and %D (the SOPD function). %K is most often displayed on a stock chart as a solid line and %D is often shown as a dotted line. The most widely used method for interpreting the Stochastic Oscillator is to buy when either component rises above 80 or sell when either component falls below 20.
Another way to interpret the Stochastic Oscillator is to buy when %K rises above %D, and conversely, sell when %K falls below %D.
Recommended Parameters
% K Periods: 9
% K Slowing Periods: 3
% D Periods: 9
MA Type: SIMPLE
Example
set SELL = (SOPK(9, 3, 9, SIMPLE) > 80) OR (SOPD(9, 3, 9, SIMPLE) > 80)
Evaluates to sell when the Stochastic Oscillator is in overbought territory.