Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2006, 05:54 PM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Red face Bollinger Band Programming Help Help

How come with the bands indicator, I can adjust the deviation to lets say 1.7 versus 2.0, but when I program the same, it will not recognize a deviation of the bands of 1.7. Instead it reads it at 1.

I used the extern double BandsDeviation = 2.0; and then changed it to 1.7, but the programming is triggering as if the BandsDeviation = 1.0???

Please help me somebody!!



Dave
<><
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 05-16-2006, 07:57 PM
cucurucu's Avatar
Senior Member
 
Join Date: Jan 2006
Posts: 314
cucurucu is on a distinguished road
Hi Dave,

Could you post the entire code here (or attach the file)? May be you are using the "iBands" and, as far as I know, the iBands works only with integer deviation (not double).

Bye.
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 05-16-2006, 08:39 PM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Smile Ibands

You are correct, it is using IBANDS. Is there anyway to rewrite this phrase (Get around this limitation) to be able to use 1.7 Deviation?

BB_High = iBands (NULL,0,BandsPeriod, BandsDeviation, Bandshift, AppliedPrice, MODE_Upper, Bar );

I would be in your debt!

Dave
<><
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 05-16-2006, 08:57 PM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
I might have it, instead of using iBands, use iCustom etc. etc.

I will see if it will work!

Dave
<><
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 05-17-2006, 02:01 AM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Question

It doesn't seem to be working with icustom. Does anybody have the knowledge to create a deviation statement using 1.7 deviations instead of 2 or 1???? This language is something else.

Frustrated!

Dave
<><
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 05-17-2006, 05:13 AM
Junior Member
 
Join Date: Apr 2006
Posts: 14
ch33z3 is on a distinguished road
Why do u want that?
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 05-17-2006, 05:15 AM
Junior Member
 
Join Date: Apr 2006
Posts: 14
ch33z3 is on a distinguished road
Anyways, just use Bands.mq4 in the folder instead of the Bollinger Bands. You can use your 1.7 deviation there. just tested it.
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 05-17-2006, 05:40 AM
iscuba11's Avatar
Senior Member
 
Join Date: May 2006
Location: Houston
Posts: 398
iscuba11 is on a distinguished road
Smile

I need it in the EA!! The Bands indicator is just part of the visual representation of what the EA is doing.

Dave <><
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 05-17-2006, 07:58 AM
firedave's Avatar
Senior Member
 
Join Date: Nov 2005
Location: Jakarta, Indonesia
Posts: 414
firedave is on a distinguished road
Quote:
Originally Posted by iscuba11
I need it in the EA!! The Bands indicator is just part of the visual representation of what the EA is doing.

Dave <><
Well, just call Band.mq4 from your EA using iCustom function. Hope this help
__________________
David Michael H
"Trader helps traders with sincerity, honesty and integrity"
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 05-17-2006, 08:16 AM
igorad's Avatar
Senior Member
 
Join Date: Oct 2005
Location: Ukraine
Posts: 963
igorad is on a distinguished road
Hi,

You can interpret BB lines like this:

BBUp = SMA + Dev*StdDev
BBDn = SMA - Dev*StdDev
BBMd = SMA,
where
SMA= iMA(....); - Simple MA
StdDev = iStdDev(....); - Standard Deviation

In this case you can use Dev(Deviation) like double value.


Igor
__________________
Let's improve trade skills together
http://finance.groups.yahoo.com/group/TrendLaboratory
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, bollinger band ea, bollinger, bollinger bands, bollinger bands mq4, bollinger bands ea, ea bollinger


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Band exponential search dada260 Setup Questions 148 10-18-2009 04:06 PM
Bollinger Band Width Ratio Maji Metatrader 4 16 08-12-2009 03:09 PM
I need HELP with Bollinger Band-CCI indicator maslow Indicators - Metatrader 4 2 06-25-2006 01:43 PM
Bollinger Band of RSI? forex123 Indicators - Metatrader 4 2 05-14-2006 07:39 AM
Five-Minute Bollinger Band System gody6000 Expert Advisors - Metatrader 4 16 05-09-2006 05:24 PM


All times are GMT. The time now is 11:56 AM.



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