NexusFi: Find Your Edge


Home Menu

 





Standard Deviation ( Indicator ) Help please!!


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one vpd1952 with 6 posts (3 thanks)
    2. looks_two bobwest with 5 posts (12 thanks)
    3. looks_3 trendisyourfriend with 4 posts (13 thanks)
    4. looks_4 mwf2220 with 3 posts (0 thanks)
      Best Posters
    1. looks_one trendisyourfriend with 3.3 thanks per post
    2. looks_two bobwest with 2.4 thanks per post
    3. looks_3 ZB23 with 1 thanks per post
    4. looks_4 vpd1952 with 0.5 thanks per post
    1. trending_up 4,839 views
    2. thumb_up 30 thanks given
    3. group 10 followers
    1. forum 19 posts
    2. attach_file 5 attachments




 
Search this Thread

Standard Deviation ( Indicator ) Help please!!

  #1 (permalink)
vpd1952
memphis
 
Posts: 77 since Mar 2020
Thanks Given: 211
Thanks Received: 23

Good Evening,
Can some please Post and or point me in the right direction as to where I can find a Standard Deviation Indicator that will plot the various Standard Deviation levels ( lines ) on the chart?

I'm looking for an Indicator that will Automatically calculate/plot various Standard Deviation levels ( SD 1, SD 2 and SD 3 Levels )

I attached a screenshot that I drew up, showing the kind of Indicator that I'm looking for - where it will plot various Standard Deviation lines/levels ( 3 ) as both Support and Resistance lines ( calculated similar to how Average True Range is calculated I'm thinking? )

Thank you to everyone for the help,
I really appreciate it

Attached Thumbnails
Click image for larger version

Name:	NinjaTrader  ( Standard Deviation ) example !!.png
Views:	243
Size:	45.9 KB
ID:	321026  
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Exit Strategy
NinjaTrader
REcommedations for programming help
Sierra Chart
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Just another trading journal: PA, Wyckoff & Trends
25 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #2 (permalink)
 
ES Jedi's Avatar
 ES Jedi 
Las Vegas
 
Experience: Master
Platform: Ninja
Broker: Ninja Trader Brokerage
Trading: Dow Futures
Posts: 388 since Oct 2021
Thanks Given: 736
Thanks Received: 388


vpd1952 View Post
Good Evening,

Can some please Post and or point me in the right direction as to where I can find a Standard Deviation Indicator that will plot the various Standard Deviation levels ( lines ) on the chart?



I'm looking for an Indicator that will Automatically calculate/plot various Standard Deviation levels ( SD 1, SD 2 and SD 3 Levels )



I attached a screenshot that I drew up, showing the kind of Indicator that I'm looking for - where it will plot various Standard Deviation lines/levels ( 3 ) as both Support and Resistance lines ( calculated similar to how Average True Range is calculated I'm thinking? )



Thank you to everyone for the help,

I really appreciate it

Ninja trader has a Vwap standard deviation tool that can be helpful

Sent using the NexusFi mobile app

Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #3 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,168 since Jan 2013
Thanks Given: 57,452
Thanks Received: 26,278



vpd1952 View Post
Good Evening,
I'm looking for an Indicator that will Automatically calculate/plot various Standard Deviation levels ( SD 1, SD 2 and SD 3 Levels )

What platform?

And are you looking for something like a moving average with sd bands, or VWAP with bands, or do you want just the static lines you have in your screen image?

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:
  #4 (permalink)
vpd1952
memphis
 
Posts: 77 since Mar 2020
Thanks Given: 211
Thanks Received: 23

Nasdaq1517,
What is the name of the Indicator in NinjaTrader that has the ( Vwap standard deviation tool )?

I really appreciate it - Thank you

Reply With Quote
  #5 (permalink)
vpd1952
memphis
 
Posts: 77 since Mar 2020
Thanks Given: 211
Thanks Received: 23

Bob,
Thank you sir for your reply

I'm using NinjaTrader for my Trading Platform

I'm trying to find an Indicator that I can plot ( static lines ) on my chart, similar to how I have them in the screen image I attached.

Thank you for all of your help - I really appreciate it

Reply With Quote
  #6 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,168 since Jan 2013
Thanks Given: 57,452
Thanks Received: 26,278


vpd1952 View Post
Bob,
Thank you sir for your reply

I'm using NinjaTrader for my Trading Platform

I'm trying to find an Indicator that I can plot ( static lines ) on my chart, similar to how I have them in the screen image I attached.

OK, then.

This will definitely be a "too long, don't read" kind of post. My apologies, but if you don't clearly specify some things, you probably will not get any responses. Also, my apologies if you already know all of this. It is hard to tell from your post, so here goes:

1. Standard deviation is deviation from a mean, an average, of a certain amount of data. So if you want a standard deviation that applies to your entire chart, you will need to specify the amount of time that you are going to average the data for. If it's "everything on the chart," then it's still for an amount of time: the period from the beginning to the end of the chart. If you scroll the chart backward, the data that is on the chart will change, so your average will be different.

2. Since you need to make an average, you will need to specify how to determine it -- that's why I asked about whether you wanted to use an average of a fixed length (which would be a moving average, because it moves forward with every new bar and always has the same period), or to use the type of averaging what is used for VWAP, which always begins at a fixed anchor point in time (it's usually the beginning of the trading day, but it can be any date/time you choose in some implementations), which would increase the averaging period as time goes on (usually VWAPs reset when the trading day changes, but some have fixed anchor dates that do not change.) VWAPs take into account volume, which introduces another issue, but I'm using this more as an example of how the period could be set.

There's no way to get around the need for an average in order to calculate a standard deviation, so how you want the average to be calculated is the important question. It is always a standard deviation for a given set of data, and it always involves finding the average of the data first.

-------------------------

However you decide you want the average done, the standard deviation levels for the entire set of data would simply be the the values at the last bar of the set. So when there is another bar added as time goes on, the last value obviously changes.

Typically, something involving a standard deviation would plot the standard deviation multiples as bands above and below the plot of the average, so looking back you could see what they were at a given time. It is also clearly possible from a mathematical point of view to only use the last value and then plot your horizontal lines backward, but I have never seen this done in practice. I have seen the previous day's VWAP levels being plotted forward into today's time period, to show possible support/resistance for the current timeframe.

There is a great number of standard deviation indicators in the world, and for all I know the exact backward-looking levels you are asking for may exist, but I have never seen them.

As far as standard, included indicators, I know that NinjaTrader has a standard daily VWAP. I do not think that its anchor point can be changed from the beginning of the day, nor if its period can be changed, but I doubt it. I don't use NT any more, but you can check the standard indicators and see. I also do not think that NT has, as an included indicator, a moving average type standard deviation indicator, but they do exist. If you want either of these alternatives, someone may be able to steer you to one.

But you will need to specify the way you want the average calculated, which is why I went into this long and probably too-long-for-anyone-to-ever-read post .

You also are probably not going to find the backward-pointing levels you drew on your chart. Maybe this exists, but I have not seen it (I also don't really understand why it's desirable, but if it's what you want, it's what you want.)

You can get anything done with custom programming, and perhaps someone will know of a solution or will be able to put one together. In principle it would not be hard to do.

But the averaging question has to be answered: how long do you want to have the data averaged in the first step of getting the standard deviation? If your answer is simply "I want the whole chart," well, that is a certain period of time, after all, and so this could be done too. The data being used would then change with every new bar, as well as if you scroll the chart back or change the span it covers, so that puts things back to the question of how to decide on the average period.

After all this, I'm not familiar with the NT world any more, so I don't have concrete suggestions. But these considerations will be important no matter what platform anyone uses. Maybe someone else can lend a hand, once you are more specific about what you are looking for. You may also have to settle for something that is close enough, if the exact thing you want is not available.

Good luck with this search. I hope you find something you can use.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
  #7 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020

You can use the good old Bollinger indicator for that (just make sure the plot style is set to HorizontalLine). Middle line is set to transparent.

Reply With Quote
  #8 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,168 since Jan 2013
Thanks Given: 57,452
Thanks Received: 26,278


trendisyourfriend View Post
You can use the good old Bollinger indicator for that (just make sure the plot style is set to HorizontalLine). Middle line is set to transparent.

I should have thought of this, and my hat's off to you.

A picture, and a solution, is worth a more than all those words I pumped out.

The words are not completely irrelevant, since the Bollinger is based on a moving average, and so the period is still an important choice.

Bob.

When one door closes, another opens.
-- Cervantes, Don Quixote
Reply With Quote
Thanked by:
  #9 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,175
Thanks Received: 6,020


bobwest View Post
I should have thought of this, and my hat's off to you.

A picture, and a solution, is worth a more than all those words I pumped out.

The words are not completely irrelevant, since the Bollinger is based on a moving average, and so the period is still an important choice.

Bob.

I must admit i hesitated to post my solution given the length of your post ;-)

Reply With Quote
Thanked by:
  #10 (permalink)
vpd1952
memphis
 
Posts: 77 since Mar 2020
Thanks Given: 211
Thanks Received: 23


bobwest,
Your reply was super super helpful - Thank you so much for going in depth and explaining the way(s) to calculate Standard Deviation and the "why" behind it.
I learned a lot from reading it, and Thank you again for taking the time to go over it

Reply With Quote
Thanked by:




Last Updated on February 13, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts