empty
Stochastic Oscillator indicator formula and settings
Stochastic Oscillator indicator formula and settings

Technical Indicator Stochastic Oscillator compares current closing price with its price range for a certain time period. The Indicator is indicated as two lines. The main line is called %K. The second line, called %D, is a Moving Average of %K. The %K line is usually indicated as a firm line and the %D line is usually displayed as a dotted graph.

stochastic oscillator

There are three the most popular ways to interpret a Stochastic Oscillator.

- Buy when the Stochastic Oscillator (either %K or %D) falls below a certain level (as a rule 20) and then rises above this level. Sell when the Oscillator rises above a certain level (as a rule 80) and then falls below this level;
- Buy when the %K line rises above the %D line. Sell if the %K line is below the %D line;
- Monitor divergences. For example: prices form a series of new highs and the Stochastic Oscillator is failing to surpass its previous highs.

Calculation

The Stochastic Oscillator has four variables:
- %K periods. This is the number of time periods used in the stochastic calculation;
- %K Slowing Periods. This value controls the internal smoothing of %K. A value of 1 is considered a fast stochastic; a value of 3 is considered a slow stochastic;
- %D periods. This is the number of time periods used when calculating a moving average of %K;
- %D method. The method (i.e., Exponential, Simple, Smoothed, or Weighted) that is used to calculate %D.

The formula for %K is:
%K = (CLOSE-LOW(%K))/(HIGH(%K)-LOW(%K))*100
Where:
CLOSE - is today`s closing price;
LOW(%K) - is the lowest low in %K periods;
HIGH(%K) - is the highest high in %K periods.
The %D moving average is calculated according to the formula:
%D = SMA(%K, N)
Where:
N - is the smoothing period;
SMA - is the Simple Moving Average.

Take the first step towards your goal
Open account
Develop your trading skills without risking your money
Open demo account
Kind regards,
The InstaForex Analyst Team
GK InstaFintech © 2007-2025
Open account and get free training lessons!
1
Register account
2
Watch webinars
3
Download InstaForex training course
4
Learn forex trading with tutor
5
InstaForex workshops

Register account

If you are a newbie on Forex, you can open a demo account

Watch webinars

Forex webinar or interactive seminar is a modern and easily available way of learning how to trade Forex online. It is suitable for both novice and savvy investors

Watch webinars

Download InstaForex training course for beginners

Have you just started learning things about Forex? Don't miss our offer! Open a trading account and get the opportunity to download a ready-made training course created by InstaForex professional FX strategists

Download training course

Learn forex trading with tutor

The main training course includes 3 free lessons where our forex expert will tell you how to make accurate trading decisions and help you hone your practice skills

Learn more

InstaForex workshops

Register for workshops on topics which you are most interested in. They are available in online and offline formats. Our professional tutors will organize a thorough discussion of the chosen topics and will explain the most difficult things in a causal language

Learn more
Can't speak right now?
Ask your question in the chat.
Widget callback
 

Dear visitor,

Your IP address shows that you are currently located in the USA. If you are a resident of the United States, you are prohibited from using the services of InstaFintech Group including online trading, online transfers, deposit/withdrawal of funds, etc.

If you think you are seeing this message by mistake and your location is not the US, kindly proceed to the website. Otherwise, you must leave the website in order to comply with government restrictions.

Why does your IP address show your location as the USA?

  • - you are using a VPN provided by a hosting company based in the United States;
  • - your IP does not have proper WHOIS records;
  • - an error occurred in the WHOIS geolocation database.

Please confirm whether you are a US resident or not by clicking the relevant button below. If you choose the wrong option, being a US resident, you will not be able to open an account with InstaForex anyway.

We are sorry for any inconvenience caused by this message.