Stochastic Question - Platforms and Indicators | futures io social day trading
futures io futures trading


Stochastic Question
Updated: Views / Replies:1,023 / 6
Created: by mrcartel Attachments:2

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 90,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors – all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you don’t need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

Stochastic Question

  #1 (permalink)
Elite Member
Baltimore, MD
 
Futures Experience: Beginner
Platform: ninjatrader
Favorite Futures: eur/usd, oil, TF
 
Posts: 2 since Jan 2012
Thanks: 0 given, 1 received

Stochastic Question

Which is considered the fast line and slow line of the stochastics? %K or %D

Reply With Quote
The following user says Thank You to mrcartel for this post:
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,599 received
Forum Reputation: Legendary

Answer
This post has been selected as an answer to the original posters question Answer



mrcartel View Post
Which is considered the fast line and slow line of the stochastics? %K or %D


@mrcartel: For the Stochastics, I first suggest to have a look at the articles by

- Thom Hartle: Stochastics, Stocks & Commodities V. 9:3(103-105) - this article explains the formula

- George C. Lane: Lane's Stochastics, Stocks & Commodities V. 2:3(87-90) - this articles is by the creator


Fast Stochastics

Fast Line

The fast line is called %K. It shows were the current close is located in relation to the highest high and the lowest low of the lookback period n.

%K = raw value = 100 * (current close - lowest low[n]) / (highest high[n] - lowest low[n])

The default value used for the lookback period is n = 14.

Slow Line

The slow line is called %D. The slow line is obtained by smoothing the fast line with a simple moving average. The default value used for the smoothing is smooth = 3.


Stochastics or Slow Stochastics

Fast Line

The fast line of the Slow Stochastics is called %K. It is identical with the slow line of the Fast Stochastics.

Slow Line

The slow line of the Slow Stochastics is called %D. The slow line is obtained by further smoothing the fast line with a simple moving average. The default value used for the smoothing is smooth = 7.

People are sometimes confused, because there is a Fast and a Slow Stochastics. The slow line of the Slow Stochastics is in fact obtained by smoothing the raw value of the Fast Stochastics twice.


Last edited by Fat Tails; November 10th, 2012 at 06:48 PM.
Reply With Quote
The following 5 users say Thank You to Fat Tails for this post:
 
  #4 (permalink)
Elite Member
Baltimore, MD
 
Futures Experience: Beginner
Platform: ninjatrader
Favorite Futures: eur/usd, oil, TF
 
Posts: 2 since Jan 2012
Thanks: 0 given, 1 received

stochastich

Ok...Something I'm reading is stating the stochastic is stating - The values are 5, 2, 2; overbought is 60 and oversold in 35. Midpoint is 48. Additionally, I am only interested in the K line (slow line), not the D line (fast line).

This is where I was confused at. I'm assuming %K = 5, %D = 2, and smoothing = 2.

Reply With Quote
 
  #5 (permalink)
Elite Member
Berlin, Europe
 
Futures Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker/Data: Interactive Brokers
Favorite Futures: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,651 since Mar 2010
Thanks: 4,226 given, 25,599 received
Forum Reputation: Legendary


mrcartel View Post
Ok...Something I'm reading is stating the stochastic is stating - The values are 5, 2, 2; overbought is 60 and oversold in 35. Midpoint is 48. Additionally, I am only interested in the K line (slow line), not the D line (fast line).

This is where I was confused at. I'm assuming %K = 5, %D = 2, and smoothing = 2.

5 is the lookback period, which is also called periodK.

2 is the smoothing parameter periodD for the %D line of the Fast Stochastics, which becomes the %K line of the Slow Stochastics.

2 is also the smoothing parameter of the %D line of the Slow Stochastics.


Please register on futures.io to view futures trading content such as post attachment(s), image(s), and screenshot(s).

Reply With Quote
The following 2 users say Thank You to Fat Tails for this post:
 
  #6 (permalink)
Elite Member
Portland Oregon, United States
 
Futures Experience: Beginner
Platform: Ninjatrader®
Broker/Data: CQG, Kinetick
Favorite Futures: Gameplay Klownbine® Trading of Globex
 
Zondor's Avatar
 
Posts: 1,327 since Jul 2009
Thanks: 1,246 given, 2,635 received

Correct way to code the stochastics oscillator

The attached file shows how the Stochastic should be coded. Ninjatrader's version is ridiculous. Friends don't let friends use code like that.

Note the changes in Stochastics.cs
  • In OnStartUp, reusable instances of the MAX, MIN, and SMA classes are created. (I cheated, used EMA instead of SMA)
  • The instances of MIN and MAX are only called once per bar (FirstTickOfBar).
  • The Compare operation was replaced with a simple absolute value inequality.
  • FastK is rounded to two decimal places, which is plenty. For calculating %K it should be cheaper to calculate the EMA of a series of numbers with two decimal places than the EMA of a series of numbers with ten digits which are mostly way beyond the real useful precision of that number anyway. Ditto for rounding of %K to get to %D.


Last edited by Zondor; November 14th, 2012 at 06:35 PM.
Reply With Quote
The following 2 users say Thank You to Zondor for this post:
 
  #7 (permalink)
Site Administrator
Manta, Ecuador
 
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
 
Big Mike's Avatar
 
Posts: 46,238 since Jun 2009
Thanks: 29,350 given, 83,214 received


Zondor View Post
The attached file shows how the Stochastic should be coded. Ninjatrader's version is ridiculous. Friends don't let friends use code like that.

Note the changes in Attachment 94780
  • In OnStartUp, reusable instances of the MAX, MIN, and SMA classes are created. (I cheated, used EMA instead of SMA)
  • The instances of MIN and MAX are only called once per bar (FirstTickOfBar).
  • The Compare operation was replaced with a simple absolute value inequality.
  • FastK is rounded to two decimal places, which is plenty. For calculating %K it should be cheaper to calculate the EMA of a series of numbers with two decimal places than the EMA of a series of numbers with ten digits which are mostly way beyond the real useful precision of that number anyway. Ditto for rounding of %K to get to %D.

You should post it in the NT8 thread, or email NT support, so they can create a ticket # for you and hopefully include it in the next major release.

Mike

Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
6)
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote
The following user says Thank You to Big Mike for this post:

Reply



futures io > > > Stochastic Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
MACD and Stochastic sucks??? Lord Sidious Traders Hideout 91 January 26th, 2013 10:41 AM
Stochastic of a Stochastic adrenalinz MultiCharts 5 July 20th, 2012 09:04 AM
Stochastic Paintbar, please fix? bluemele NinjaTrader 2 December 12th, 2011 11:49 AM
Stochastic Tweak... timefreedom The Elite Circle 2 September 20th, 2010 03:52 AM
Stochastic %K Indicator timefreedom The Elite Circle 4 September 16th, 2010 05:12 PM


All times are GMT -4. The time now is 01:05 PM.

Copyright © 2017 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2017-12-11 in 0.12 seconds with 32 queries on phoenix via your IP 54.145.16.43