Advanced Bollinger Band indicator - does it exist ? - futures io
futures io futures trading



Advanced Bollinger Band indicator - does it exist ?


Discussion in NinjaTrader

Updated by echoeversky
      Top Posters
    1. looks_one Fat Tails with 17 posts (42 thanks)
    2. looks_two wldman with 12 posts (3 thanks)
    3. looks_3 forrestang with 11 posts (22 thanks)
    4. looks_4 Overview with 7 posts (0 thanks)
      Best Posters
    1. looks_one Fat Tails with 2.5 thanks per post
    2. looks_two forrestang with 2.0 thanks per post
    3. looks_3 RedK with 1.5 thanks per post
    4. looks_4 wldman with 0.3 thanks per post
    1. trending_up 17,333 views
    2. thumb_up 74 thanks given
    3. group 11 followers
    1. forum 58 replies
    2. attach_file 12 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Advanced Bollinger Band indicator - does it exist ?

(login for full post details)
  #1 (permalink)
California
 
 
Posts: 40 since Dec 2010
Thanks: 14 given, 3 received

Hi All

I would like to use a more advanced Bollinger indicator, where I can show one middle band and up to 4 upper / lower bands instead of the normal 1.

Ideally this indicator will also, when applied to other indicators (rather than an instrument itself), show an option to use the indicator that is already in the target display panel, and also have customizable price markers.

It is possible to use the standard Bollinger indicator in NT7, but it is time-consuming to set up / change.

The other approach that would achieve a similar result might be a generic add-in so as to be able to show oscillator vertical scales in dual form - 1) the normal scale, and 2) normalized to the number of standard deviations from the mean (the mean ie.0 would also be shown) - then the period for calculating the mean and SD's could be something set in the add-in panel.

Anyone know of something like this - or something close ?

Reply With Quote

Can you help answer these questions
from other members on futures io?
Trading Entry Based on Manually Drawn Trendlines
EasyLanguage Programming
FYI plot bug & workaround: changing color or width is delayed 1 bar
EasyLanguage Programming
Think or swim earnings move calculation
Brokers
Rithmic Pro logs out every 5 mins - anyone else experience this
Platforms and Indicators
Scan by comparing SMAs within 5 mins
ThinkOrSwim
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Are sharks watching on the other side?
52 thanks
Sierra Chart ACSIL for Beginners.
45 thanks
Earn2Trade (Helios) - "The Gauntlet"
26 thanks
VWAP for stock index futures trading?
16 thanks
FIO Journal Challenge - June 2020 w/SharkIndicators
15 thanks
 
(login for full post details)
  #2 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,828 since Mar 2010
Thanks: 4,237 given, 26,545 received


Overview View Post
Hi All

I would like to use a more advanced Bollinger indicator, where I can show one middle band and up to 4 upper / lower bands instead of the normal 1.

Need to add some plots to the original Bollinger Bands.


Overview View Post
Ideally this indicator will also, when applied to other indicators (rather than an instrument itself), show an option to use the indicator that is already in the target display panel, and also have customizable price markers.

I am afraid that you will need to select the input series for the indicator manually when you apply it to a chart. Custumizable price markers can be coded, you would need to specify what you want to have customized.


Overview View Post
The other approach that would achieve a similar result might be a generic add-in so as to be able to show oscillator vertical scales in dual form - 1) the normal scale, and 2) normalized to the number of standard deviations from the mean (the mean ie.0 would also be shown) - then the period for calculating the mean and SD's could be something set in the add-in panel.

Not clear what you mean. Any indicator can be normalized and displayed relative to a scale of standard deviations, but how do you want to display a scale in dual form. If you display two scales, you will have two indicator lines on that panel as well.

Reply With Quote
 
(login for full post details)
  #3 (permalink)
Chicago IL
 
Experience: Intermediate
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,040 since Jun 2010
Thanks: 229 given, 698 received


Not sure what you're looking for, but I have something similar modeled that I've been watching/modifying for the past few weeks that is 'similar' to what the OP described, although probably not exactly.

That black line in the middle is the 0 standard Deviation. Then on each side of it is the first, second and third standard deviations.

Just modeling Bollinger bands themselves is a straightforward task and plotting Deviations on either side of the mean is easy. As FT suggested, applying that to a specific indie is pretty straightforward once adding it to the chart without going through custom programming.

Attached Thumbnails
Click image for larger version

Name:	Prime2011-09-21_040521.png
Views:	325
Size:	46.6 KB
ID:	49737  
Reply With Quote
 
(login for full post details)
  #4 (permalink)
California
 
 
Posts: 40 since Dec 2010
Thanks: 14 given, 3 received

Hi again Fat Tails !

What I was trying to do was to plot ROC instead of scaled as a percentage, in units of Standard deviation. What I ended up doing was putting up the ROC indicator in a new panel, and then using 4 BB indicators, set to 1, 2 3 and 4 SDs, with a very long period so that the 0 line was substantially flat.

The issues I had were 1) that to change the ROC period, you have to change it in 5 places - in the ROC indicator, and AFAIK in the input series drop-down in each of the 4 BB indicators.

So through the above kludge, I have approximately what I am looking for, but it's pretty inelegant, and given I am to programming as fish are to bicycles, that is the best I am going to get unless someone has already done something similar.

If I were able to plot ROC (or any other indicator) in measures of SD, then I could if I want have 2 panels, one ROC in % and the other in SD measures, and then do the standard NT7 trick of selecting the plot in the second ROC panel and dragging it into the first, in which case the second scale will be placed on the LHS of the panel, and I can then see both plots in different colours. The other thing that can then be done if the scales are normalized in SDs is to have ROC plots in the same panel but with different periods.

@Fat Tails - what I originally had in mind was a way of selecting whether the scale is in its original units or is displayed in SDs - hence the idea of an add-in to avoid having to modify the code for every indicator. No idea whether this is even possible, but thought it worth a mention - SD scaled presentation might be useful to other people for other indicators / oscillators as well as ROC.

@ forrestang Sounds like your indicator would be a great start for my purposes - any chance of getting hold of it ? And how easy is it to add another BB ?

Thx

Reply With Quote
 
(login for full post details)
  #5 (permalink)
Chicago IL
 
Experience: Intermediate
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,040 since Jun 2010
Thanks: 229 given, 698 received


Overview View Post

@ forrestang Sounds like your indicator would be a great start - any chance of getting hold of it ? And how easy is it to add another BB ?

Thx

My indie is 'still under construction' at the moment. There are some other things going on with that with behind the scenes that I am sorting out with regards to what I want to see on the chart.

But if you just want an indicator that will plot Bollingers with the standard deviations where you input a fixed length, I can create one of those really quickly for you so that you see that on your chart.

Reply With Quote
 
(login for full post details)
  #6 (permalink)
California
 
 
Posts: 40 since Dec 2010
Thanks: 14 given, 3 received

@ forrestang - Wow that would be great -- thanks v much

Reply With Quote
 
(login for full post details)
  #7 (permalink)
Chicago IL
 
Experience: Intermediate
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,040 since Jun 2010
Thanks: 229 given, 698 received


Overview View Post
@ forrestang - Wow that would be great -- thanks v much

Anything else you can think of that you might want in there before I post it?

Attached Thumbnails
Click image for larger version

Name:	Prime2011-09-21_084309.png
Views:	164
Size:	69.9 KB
ID:	49772  
Reply With Quote
 
(login for full post details)
  #8 (permalink)
Market Wizard
Berlin, Europe
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
 
Fat Tails's Avatar
 
Posts: 9,828 since Mar 2010
Thanks: 4,237 given, 26,545 received


Overview View Post
@Fat Tails - what I originally had in mind was a way of selecting whether the scale is in its original units or is displayed in SDs - hence the idea of an add-in to avoid having to modify the code for every indicator. No idea whether this is even possible, but thought it worth a mention - SD scaled presentation might be useful to other people for other indicators / oscillators as well as ROC.
Thx

The ROC normalizes momentum by dividing through price. As instruments have different volatility, and as percentage changes depend on the bar period selected, you will not observe any uniform behaviour for all instruments and timeframes. You are absolutely right, if you want to use volatility to normalize price action. You have the choice between the average true range - this is what I personally prefer, because it is faster to calculate - and the standard deviation.

Normalizing means to divide the indicator value by the average true range or standard deviation and then display the result as a multiple. The point here is to find an appropriate look back period. Do you want to include price action of the night session or just use volatility observed during the day session? One solution that I have often adopted is to use the average true range over the entire chart. This is fast to calculate and - more important - stable. It will not slow down the indicator for real-time performance, as the calculation can be done once per bar - first tick of bar - only.

For the standard deviation, it can also be done over the entire chart period, if a modified formula is used.

I do not genereally recommend this as an add-on, but it can be done as an add-on as well. However, the add-on will be limited to oscillators, as you need a fixed reference such as 0 (momentum, MACD) or 50 (Stochastics, RSI) for calculating the bands.

Reply With Quote
The following user says Thank You to Fat Tails for this post:
 
(login for full post details)
  #9 (permalink)
Chicago IL
 
Experience: Intermediate
Platform: Ninja, MT4, Matlab
Broker: CQG, AMP, MB, DTN
Trading: E/U, G/U
 
forrestang's Avatar
 
Posts: 1,040 since Jun 2010
Thanks: 229 given, 698 received


Overview View Post
What I ended up doing was putting up the ROC indicator in a new panel, and then using 4 BB indicators, set to 1, 2 3 and 4 SDs, with a very long period so that the 0 line was substantially flat.

The issues I had were 1) that to change the ROC period, you have to change it in 5 places - in the ROC indicator, and AFAIK in the input series drop-down in each of the 4 BB indicators.

So through the above kludge, I have approximately what I am looking for, but it's pretty inelegant, and given I am to programming as fish are to bicycles, that is the best I am going to get unless someone has already done something similar.

As is now, you would still have add it to the chart panel you want, apply the data series of whatever your target indicator is, and left justify it depending on how you want it displayed. And you won't have to change the period in so many different places.

Attached Thumbnails
Click image for larger version

Name:	Prime2011-09-21_100342.png
Views:	216
Size:	37.5 KB
ID:	49780  
Attached Files
Register to download File Type: zip OverViews_BBands.zip (7.8 KB, 75 views)
Reply With Quote
The following 6 users say Thank You to forrestang for this post:
 
(login for full post details)
  #10 (permalink)
California
 
 
Posts: 40 since Dec 2010
Thanks: 14 given, 3 received


@ forrestang


forrestang View Post
Anything else you can think of that you might want in there before I post it?

Oops - was n't watching the thread for a while .....
What you have is working nearly perfectly - I use daily charts a lot and if I have the data load set to 3650 days, and the ROC to say 10 days, if I set the period in the OverviewBB to be above about 2000 periods, the lines seem to disappear. I can survive with it as is but if it's a quick fix that would be great.

And if there were 4 BBs that would be really cool - that extra one can be useful sometimes. If it's too much effort no problem - and thanks very much for taking the time on what you have done.

@ Fat Tails

Appreciate the comments - my approach is a bit like yours - to set the SD period to the whole chart data load. The interesting thing about ROC as a % is that you see the offset and so can see the mean % increase per ROC period over the whole of the chart period.

If you want to compare ROC charts in the same panel, each with 2 different periods, by using the SD scale you can compare them more directly for variability. Horses for courses I guess. I'd not thought of using ATR for a similar purpose. You are way ahead of me Fat Tails - I was looking at using this for daily charts over 10 years for position rather than day or even swing. Going OT, I would be really interested to know how you use that type of chart - discretionary/automatic and how ? Maybe I can use what you are doing short term to help with much longer timeframes.

Reply With Quote


futures io Trading Community Platforms and Indicators NinjaTrader > Advanced Bollinger Band indicator - does it exist ?


June 11, 2013


Upcoming Webinars and Events
 

Free BloodHound Licenses for everyone!

June
 

Every journal equals ten meals for the hungry

June
     



Copyright © 2020 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