Moving Standard Deviation - NinjaTrader | futures io social day trading
futures io futures trading


Moving Standard Deviation
Updated: Views / Replies:3,066 / 15
Created: by jwhtrades Attachments:4

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
 4  
 
Thread Tools Search this Thread
 

Moving Standard Deviation

  #11 (permalink)
Market Wizard
Sarasota FL
 
Futures Experience: Intermediate
Platform: NinjaTrader, Sierra Chart
Favorite Futures: ES
 
Posts: 3,636 since Jan 2013
Thanks: 26,761 given, 11,119 received
Forum Reputation: Legendary


choke35 View Post
Before re-inventing the wheel: The indicator that you are looking for is called Bollinger's %B.

Standard configuration - as shown - is +/- 2 SD around a 20 period SMA.
Bollinger himself uses a 0/100 scaling instead of 80/20 (because in relation to 2 SDs 80%/20% don't really make much sense).
He just wants to know how much of +/- 2 SDs are maxed out.

I was wondering about whether the indicator in the chart was showing a percentage. I guess I should have pushed on a bit, but the formula given was just for standard deviation by itself....

Thanks for the complete answer.

Bob.

Reply With Quote
The following user says Thank You to bobwest for this post:
 
  #12 (permalink)
Elite Member
woodstock, ga
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, TF, CL
 
jwhtrades's Avatar
 
Posts: 156 since Feb 2011
Thanks: 543 given, 76 received

Thanks


choke35 View Post
You can download it here:
https://futures.io/download/ninjatrader-7/indicators/1529-download.html?view

(Default style is bar here, but you can switch it to line - which would be standard.)


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

"Full Population" Standard Deviation



jwhtrades View Post
The 20-period standard deviation for the data above is 6.787. Note that this is the "full population" version of the Standard Deviation. There is a different kind of Standard Deviation calculation that is used when you are taking a statistical sample of a population, but that version is not used in technical analysis since all of the data points are known.

You are correct in your assumption that all data points are known. However, the data points are not the 20 bar closes that you mention, but all transactions that occured during the period represented by the 20 bar. This clearly shows that you only use a meagre sample of all trades to approximate the standard deviation.

To calculate the correct standard deviation, you should use unfiltered tick data and then calculate the standard deviation from the full population.

But even if you do not have full resolution tick data available, but only have the OHLC and volume data from the last 20 bars, you can do much better than calculating the standard deviation from the closes:

-> first of all you can take into account the volume of each of the 20 bars
-> also the bar close should be replaced with a better price such (open + high + low + close)/4


The chart below shows how a modified calculation of the standard deviation which uses 80 sample points and takes into account volume (blue plot) gives us a better approximation of the population standard deviation than the simple formula based on 20 closes (orange plot).

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 3 users say Thank You to Fat Tails for this post:
 
  #14 (permalink)
Elite Member
woodstock, ga
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, TF, CL
 
jwhtrades's Avatar
 
Posts: 156 since Feb 2011
Thanks: 543 given, 76 received

anaStdDevBands

Thanks Harry,

I've done an advanced search to try and find your anaStdDevBands and have not been successful. Can you provide the link please.

All the best,
John


Fat Tails View Post
You are correct in your assumption that all data points are known. However, the data points are not the 20 bar closes that you mention, but all transactions that occured during the period represented by the 20 bar. This clearly shows that you only use a meagre sample of all trades to approximate the standard deviation.

To calculate the correct standard deviation, you should use unfiltered tick data and then calculate the standard deviation from the full population.

But even if you do not have full resolution tick data available, but only have the OHLC and volume data from the last 20 bars, you can do much better than calculating the standard deviation from the closes:

-> first of all you can take into account the volume of each of the 20 bars
-> also the bar close should be replaced with a better price such (open + high + low + close)/4


The chart below shows how a modified calculation of the standard deviation which uses 80 sample points and takes into account volume (blue plot) gives us a better approximation of the population standard deviation than the simple formula based on 20 closes (orange plot).

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


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


jwhtrades View Post
Thanks Harry,

I've done an advanced search to try and find your anaStdDevBands and have not been successful. Can you provide the link please.

All the best,
John

I have not had the time to put it into Big Mike's downloads. I will send you a link to the indicator via private message.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
  #16 (permalink)
Elite Member
woodstock, ga
 
Futures Experience: Intermediate
Platform: NinjaTrader
Broker/Data: NinjaTrader Brokerage
Favorite Futures: Futures, TF, CL
 
jwhtrades's Avatar
 
Posts: 156 since Feb 2011
Thanks: 543 given, 76 received

Thanks for your quick reply. Look forward to receiving your link and trying this indicator.

Cheers,
John


Fat Tails View Post
I have not had the time to put it into Big Mike's downloads. I will send you a link to the indicator via private message.


Reply With Quote

Reply



futures io > > > > Moving Standard Deviation

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Jigsaw Trading: TBA

Elite only

FuturesTrader71: TBA

Elite only

NinjaTrader: TBA

Jan 18

RandBots: TBA

Jan 23

GFF Brokers & CME Group: Futures & Bitcoin

Elite only

Adam Grimes: TBA

Elite only

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard Deviation Moves WilleeMac Sierra Chart 25 November 4th, 2015 02:39 AM
Code for VWAP with Standard Deviation 1 and 2 jimmyz MultiCharts 0 November 20th, 2014 04:30 PM
weekly standard deviation situhold ThinkOrSwim 0 September 11th, 2014 09:36 PM
standard deviation of volume daytrader07 Platforms and Indicators 5 May 14th, 2014 09:54 AM
Standard Deviation Channel honkin MetaTrader 2 April 5th, 2014 04:13 AM


All times are GMT -4. The time now is 12:20 AM.

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-16 in 0.12 seconds with 32 queries on phoenix via your IP 54.226.113.250