• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:00pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:00pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Identifying Budding Trends with Bollinger Bands 1 reply

Bollinger Bands Strategy 23 replies

Please help with MT4 , Bollinger Bands , Starc Bands generating bad signals 1 reply

candle shadows and Bollinger bands 1 reply

decimal values of bollinger bands 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: Getting values of Bollinger Bands
Cancel

Getting values of Bollinger Bands

  • Post #1
  • Quote
  • First Post: Oct 17, 2006 3:37pm Oct 17, 2006 3:37pm
  •  pdhawan
  • | Joined Aug 2006 | Status: Can I trade? | 173 Posts
Hi, I had a question I couldn't figure out. New to MT4.

I have attached the Bollinger Bands to my chart. I want to retrieve the upper and lower values in an EA.

Do I have to copy the entire indicator code into the EA or is there a function to retrieve the values from an attached indicator?
  • Post #2
  • Quote
  • Oct 19, 2006 4:43am Oct 19, 2006 4:43am
  •  pdhawan
  • | Joined Aug 2006 | Status: Can I trade? | 173 Posts
Just in case anyone is curious. I did figure it out....

// Bollinger Widths
upperband = iBands(NULL, 0, BandsPeriod, BandsDeviations, 0, PRICE_CLOSE,MODE_UPPER,0);
lowerband = iBands(NULL, 0, BandsPeriod, BandsDeviations, 0, PRICE_CLOSE,MODE_LOWER,0);
banddifference = upperband-lowerband;
 
 
  • Post #3
  • Quote
  • Last Post: May 26, 2008 10:20am May 26, 2008 10:20am
  •  piplander
  • | Joined Mar 2008 | Status: Member | 20 Posts
Can anyone tell me how i can get an alert when price punches through the Bollanger Bands at any Timeframe. Would like to have that alert

Also any information on how to get a stochastic signal when they cross with any values selected?

Thanks
 
 
  • Platform Tech
  • /
  • Getting values of Bollinger Bands
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023