Skip This Ad >>
 
Register
Forgotten your password?
The Facebook Platform
Forex-TSD - Powered by vBulletin
Loading search...
Advanced search
  • Home
  • Forums
    Free sections Exclusive sections All sections
  • Register
    Create new account
  • More Recent
    Latest Threads Today's Posts
  • Rankings
    Most popular threads this month Most popular threads created this month Most linked threads this month Most active users Most reputed users
  • Calendar
  • Advertising
  • Others
    Blogs Toolbar
  • Help
    Contact Us FAQ
  • Premium Forum
  • Home
  • Forum
  • Discussion Areas
  • Metatrader 4
  • Bollinger bands in a seperate window with steady size

Thread: Bollinger bands in a seperate window with steady size



  • LinkBack
    • LinkBack URL LinkBack URL
    • About LinkBacks About LinkBacks
    •  
    • Bookmark & Share
    • Digg this Thread!
    • Add Thread to del.icio.us
    • Bookmark in Technorati
    • Tweet this thread
  • Thread Tools
    • Show Printable Version
    • Email this Page…
    • Subscribe to this Thread…
  • Display
    • Switch to Hybrid Mode
    • Switch to Threaded Mode
Results 1 to 6 of 6
3 3 Attachment(s)

  1. 09-22-2007 03:57 PM #1
    MrM
    MrM is offline Senior Member
    Points: 27,455, Level: 24
    Level completed: 15%, Points required for next Level: 1,445
    Overall activity: 0%
    Join Date
    Jul 2007
    Posts
    135
    Points
    27,455
    Level
    24
    Achievements:
    Veteran500 Experience Points

    Bollinger bands in a seperate window with steady size

    Let's say you have a moving average (or a bollinger band, which is a moving average + and - 2 standard deviations) on a chart, and you want to get that into a seperate window at the bottom of the screen, you would think that by just changing #property indicator_chart_window into #property indicator_separate_window and done is done. But the problem here is that the price oscillations will make your moving average -which is now in a seperate window- change the minimum and maximum of the window. Now you probably think, this is easy, just change the minimum and maximum of the window and you're done, but the problem here it's practically not doable because you don't know the maximum of the price action. Hence, you have to normalize: you have to change the value the moving average has calculated into a value between 0 and 100 to make your moving average a true oscillator (like rsi, macd, stochs,...). Because if you look at the picture, you see that by scrolling the chart more to the right, the shape of the bands changes. I want to prevent this by normalizing it (give it a value between 0 & 100).

    Now my question is: Does anyone know how to divide the change of price by the maximum range of prices for the day? Or a way to prevent the bollinger from changing shape? I've attached the code.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	bollinger_seperate_window.JPG 
Views:	562 
Size:	46.1 KB 
ID:	44097  
    Attached Files
    • File Type: mq4 Bands_test.mq4 (2.4 KB, 77 views)
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  2. 09-22-2007 08:10 PM #2
    banzai
    banzai is offline Senior Member
    Points: 372,169, Level: 59
    Level completed: 63%, Points required for next Level: 121,831
    Overall activity: 0%
    Join Date
    May 2006
    Posts
    231
    Points
    372,169
    Level
    59
    Achievements:
    Veteran500 Experience Points

    Dynamic Zone RSI

    Try the Dynamic Zone RSI
    Dynamic RSI !!!!

    It has Bollinger Band, EMA, and RSI. It's possible to re-program to turn off the RSI if you don't need it.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  3. 09-22-2007 11:10 PM #3
    Linuxser's Avatar
    Linuxser
    Linuxser is offline Forum Staff
    Join Date
    May 2006
    Location
    Helliconia (Summer)
    Posts
    4,732
    Achievements:
    Three FriendsYour first GroupRecommendation First Class
    Blog Entries
    64
    Maybe this thread could help you Bollinger Static MA
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    My Blog on TSD! | subscribe Exclusive Elite | subscribe Advanced Elite section.
    Reply With Quote Reply With Quote

  4. 09-23-2007 06:04 AM #4
    newdigital
    newdigital is online now Administrator
    Join Date
    Sep 2005
    Posts
    29,180
    Achievements:
    Three FriendsRecommendation First Class
    Blog Entries
    1341
    Try this summarized thread http://www.forex-tsd.com/setup-quest...al-search.html to find something.

    We are having such threads for RSI indicator http://www.forex-tsd.com/setup-quest...indicator.html , Momentum indicator Momentum indicator , Parabolic SAR http://www.forex-tsd.com/setup-quest...indicator.html , Stochastic Stochastic Oscillator , NRTR Nrtr , about divergence Divergence Indicator and Support/resistance http://www.forex-tsd.com/general-dis...fectively.html and some more.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  5. 09-27-2007 09:52 PM #5
    MrM
    MrM is offline Senior Member
    Points: 27,455, Level: 24
    Level completed: 15%, Points required for next Level: 1,445
    Overall activity: 0%
    Join Date
    Jul 2007
    Posts
    135
    Points
    27,455
    Level
    24
    Achievements:
    Veteran500 Experience Points
    thanks a lot for the answers guys, but I think I have expressed myself in the wrong way, let me restate the problem:
    let's say you have a 20 period moving average in your chart window, and you want to convert this into an oscillator in your seperate window: you want divide the change of price by the maximum range of n periods (20), which essentially gives you an oscillator. Any idea how to do this?
    Attached Files
    • File Type: mq4 MA20.mq4 (5.3 KB, 33 views)
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    Reply With Quote Reply With Quote

  6. 09-27-2007 10:09 PM #6
    Linuxser's Avatar
    Linuxser
    Linuxser is offline Forum Staff
    Join Date
    May 2006
    Location
    Helliconia (Summer)
    Posts
    4,732
    Achievements:
    Three FriendsYour first GroupRecommendation First Class
    Blog Entries
    64
    Easy: (MA-MA(x)/MA(x))

    Also knowns as Price Oscillator.
    • Share
      • Share this post on
      • Digg
      • Del.icio.us
      • Technorati
      • Twitter
    My Blog on TSD! | subscribe Exclusive Elite | subscribe Advanced Elite section.
    Reply With Quote Reply With Quote

3 3 Attachment(s)

Quick Navigation Metatrader 4 Top
  • Site Areas
  • Settings
  • Private Messages
  • Subscriptions
  • Who's Online
  • Search Forums
  • Forums Home
  • Forums
  • Announcements
    1. Announcements Blog
  • Exclusive Forum
    1. Elite Section
  • Forex Press
    1. Analytics
    2. Articles
    3. Success Stories
  • Discussion Areas
    1. General Discussion
    2. Metatrader 4
      1. Metatrader 3
    3. Metatrader 5
    4. Post and compare Trades
    5. Setup Questions
    6. Suggestions for Trading Systems
    7. Documentation
    8. Strategy Trader
  • Non Related Discussions
  • Downloads
    1. Indicators - Metatrader 4
      1. Indicators - Metatrader 3
      2. Indicators - Metatrader 5
    2. Manual trading systems
    3. Expert Advisors - Metatrader 4
      1. TSD Expert Advisors
      2. Expert Advisors - Metatrader 5
      3. Expert Advisors - Metatrader 3
    4. Tools and utilities
    5. Tools and utilities - Strategy Trader
  • Trading systems
    1. CatFx50
    2. Brain Systems
    3. Ema Cross
    4. Harmonic trading
    5. The "XO"-Method
    6. Phoenix
    7. Dolly
    8. Digital Filters
    9. Martingale/Average Cost and Hedging
  • Automated Trading
    1. News/Signal Trading
    2. FX Signals Marketplaces
  • Commercial systems
    1. Commercial Trading Systems and indicators
    2. Raw Commercial Ideas
    3. Evaluate Commercial Ideas
  • Brokers
    1. Metatrader brokers
  • Programming
    1. MetaTrader Programming
    2. TradeStation Programming
  • Training
    1. Metatrader
      1. Metatrader 4 mql 4 - Development course
        1. Questions
        2. Lessons
    2. TradeStation

» Popular Tags

analysis best broker best ea BrainTrading breakeven broker camarilla chart code custom EA day trading ea coding ea zig zag ecn elliot EQUITY eurusd expert expert adviser

» Rankings

Hottest Threads

1  Eurusd/gbpusd
2  CatFx50
3  10points 3.mq4
4  FxOpen
5  Multi Timeframe Indicators

view more
 

Most Popular Threads

1  Multi Timeframe In...
2  CatFx50
3  Something interesting pl...
4  The Murrey Math Trading System
5  Show Us Your Best

view more

» FEATURED BROKERS



« Previous Thread | Next Thread »

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Better Bollinger Bands...
    By forextrades in forum Metatrader 4
    Replies: 22
    Last Post: 04-08-2012, 08:27 AM
  2. Custom Bollinger Bands
    By RickW00716 in forum Indicators - Metatrader 4
    Replies: 1
    Last Post: 09-14-2007, 01:17 AM
  3. Can someone help me create a MTF stoch bars indicator in a seperate window
    By 200 in forum Indicators - Metatrader 4
    Replies: 6
    Last Post: 06-24-2007, 03:58 PM
  4. adjustable bollinger bands
    By oneprint in forum Indicators - Metatrader 4
    Replies: 8
    Last Post: 05-29-2007, 01:08 AM
  5. Fib bollinger bands
    By Thruline in forum Indicators - Metatrader 4
    Replies: 4
    Last Post: 03-16-2006, 07:40 PM

Tags for this Thread

  • bollinger,
  • bollinger bands

View Tag Cloud

Bookmarks

Bookmarks
  • Submit to Digg Digg
  • Submit to del.icio.us del.icio.us
  • Submit to Technorati Technorati
  • Submit to Furl Furl
  • Submit to StumbleUpon StumbleUpon
  • Submit to Reddit Reddit
  • Submit to Facebook Facebook
  • Submit to Blink List Blink List
  • Submit to Google Google
  • Submit to Yahoo My Web Yahoo My Web
  • Submit to Twitter Twitter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  • BB code is On
  • Smilies are On
  • [IMG] code is On
  • [VIDEO] code is On
  • HTML code is Off
  • Trackbacks are On
  • Pingbacks are On
  • Refbacks are On

Forum Rules

Forums
  • Free sections
  • Exclusive sections
  • All sections
Calendar Social Networking
Premium Forum
  • Elite Membership
  • Advanced Membership
All times are GMT. The time now is 08:11 PM.
Terms and Conditions
PRIVACY POLICY
Powered by vBulletin® Version 4.1.11
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Digital Point modules: Sphinx-based search

Subscribe today and get...

Elite Membership
  • Elite Trading Systems
  • Propietary Indicators
  • Private Performance Reports
  • Elite EAs Source Code
  • 24/5 Trading Support!
Advanced Membership
  • Elite benefits, plus:
  • - MT4 & MT5 cutting-edge indicators.
  • - Advanced propieatry indicators and its source codes.
  • - Free conversion of MT4 indicatiors to MT5.
View our best offer!