Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4






Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2006, 11:34 PM
Senior Member
 
Join Date: Mar 2006
Posts: 789
Maji is on a distinguished road
Bollinger Band Width Ratio

Hi everyone,

For some reason, the BBandwidthratio indicator that I wrote won't plot. Can any of the experts take a look at it and see what is wrong?

Thanks for your help,
Maji
Attached Files
File Type: mq4 BBandWidthRatio.mq4 (2.5 KB, 273 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #2 (permalink)  
Old 03-12-2006, 08:27 AM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 718
Kalenzo is on a distinguished road
Quote:
Originally Posted by Maji
Hi everyone,

For some reason, the BBandwidthratio indicator that I wrote won't plot. Can any of the experts take a look at it and see what is wrong?

Thanks for your help,
Maji
Hi!
I fixed it. It had some bugs.
Can U post here how U want to use it?

Regards
Kale
Attached Files
File Type: mq4 BBandWidthRatio.mq4 (2.5 KB, 639 views)
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #3 (permalink)  
Old 03-12-2006, 04:29 PM
Senior Member
 
Join Date: Mar 2006
Posts: 789
Maji is on a distinguished road
Thank you for your help. I am not sure what was messed up, but then you worked your magic.

I want to use the ratio to find out periods of low volatility. When the ratio falls below a certain level (that I want to optimize), then we place a straddle order. As we know there is usually a breakout following periods of low volatility, I am trying to catch that breakout.

I am still far from completing any EA based on this system, but that is my idea. Maybe you can whip up an EA based on this theory.

Thanks again,
Maji
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #4 (permalink)  
Old 03-12-2006, 04:32 PM
Kalenzo's Avatar
Senior Member
 
Join Date: Dec 2005
Location: Bydgoszcz - Poland
Posts: 718
Kalenzo is on a distinguished road
Quote:
Originally Posted by Maji
Thank you for your help. I am not sure what was messed up, but then you worked your magic.

I want to use the ratio to find out periods of low volatility. When the ratio falls below a certain level (that I want to optimize), then we place a straddle order. As we know there is usually a breakout following periods of low volatility, I am trying to catch that breakout.

I am still far from completing any EA based on this system, but that is my idea. Maybe you can whip up an EA based on this theory.

Thanks again,
Maji
Can U post some descriptions, or link where U found this idea?
(idea with is implemented in this indicator)
__________________
You need proffesional mql coder? Contact me! I will help you!
........................................
http://www.fxservice.eu/
........................................
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #5 (permalink)  
Old 03-12-2006, 09:33 PM
SPACECHIMP's Avatar
Member
 
Join Date: Feb 2006
Location: West Michigan, USA.
Posts: 86
SPACECHIMP is on a distinguished road
an EA based on this idea is a Great idea..

open two trades above and below consolidation area and when bollinger bands expand (squeeze indicator might help too) close trade opposite of direction OR

do it this way?
When bollinger band expand, open trade immediately in direction of price movement.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #6 (permalink)  
Old 03-12-2006, 09:40 PM
Senior Member
 
Join Date: Mar 2006
Posts: 789
Maji is on a distinguished road
I got the basic idea from this link http://www.investopedia.com/articles.../04/030304.asp

However, for forex markets I think we don't need the MFI, and should just go with the straddle orders.

Maji
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #7 (permalink)  
Old 03-12-2006, 09:56 PM
SPACECHIMP's Avatar
Member
 
Join Date: Feb 2006
Location: West Michigan, USA.
Posts: 86
SPACECHIMP is on a distinguished road
how to handle the 'head fake'?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #8 (permalink)  
Old 03-12-2006, 10:40 PM
Senior Member
 
Join Date: Mar 2006
Posts: 789
Maji is on a distinguished road
Head fake is a fact of life that traders will have to leave with. There will be trades which will be losers because of the head fake. However, the other side should ride the trend and the profits should be greater than the losers in the long term.

Let me give an example. Say the two straddle orders are Long at 1.5500 and short at 1.5400. The stop loss will the opposite order. Now, if the long order is triggered but then that is a head fake, then the stop will be hit and we will be net short. We hope that the down trend starts with that short breakout and we can ride it for handsome profits.

Hope this helps.
Maji
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #9 (permalink)  
Old 03-13-2006, 12:29 AM
Senior Member
 
Join Date: Feb 2006
Posts: 586
Michel is on a distinguished road
Maji,
What's the difference between your "BBbandWithRatio" indic and the common "Standard Deviation" ?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
  #10 (permalink)  
Old 03-13-2006, 01:41 AM
Senior Member
 
Join Date: Mar 2006
Posts: 789
Maji is on a distinguished road
BBandWidth Ratio = (Difference between top band and lower band)/middle band
=> BBWR = 2*Standard Dev/MA

Hope this helps.
Maji
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
Reply With Quote
Reply

Bookmarks

Tags
bollinger band width, bollinger, bollinger band, bollinger ratio, bollinger bands

Thread Tools
Display Modes

Posting Rules
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
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bollinger Bands Width indicator traderixx Metatrader 4 10 05-27-2009 11:11 PM
Request -- Bollinger Band Width (Histogram) Indicator KevinX Indicators - Metatrader 4 1 07-22-2006 08:33 AM
I need HELP with Bollinger Band-CCI indicator maslow Indicators - Metatrader 4 2 06-25-2006 01:43 PM
Bollinger Band Programming Help Help iscuba11 Metatrader 4 10 05-17-2006 03:13 PM
Bollinger Band of RSI? forex123 Indicators - Metatrader 4 2 05-14-2006 07:39 AM


All times are GMT. The time now is 01:00 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.