Forex
Google
New signals service!

Go Back   Forex Trading > Downloads > Indicators - 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
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-09-2007, 09:42 PM
thesource's Avatar
Senior Member
 
Join Date: Dec 2006
Location: My World
Posts: 222
thesource is on a distinguished road
Bollinger Static MA

Hi.

I am looking for a Bollinger Band Indicator that has a different display that normal bands attached to the chart.

The MA needs to display as a single straight line.
The Upper and Lower Band moves to and away from the stable MA.

All setting remain as default, it is only the visual output that changes

Thanx

The Source
__________________
Safe Trades

the source
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-09-2007, 10:14 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 2,845
Blog Entries: 34
Linuxser has disabled reputation
Quote:
Originally Posted by thesource
Hi.

I am looking for a Bollinger Band Indicator that has a different display that normal bands attached to the chart.

The MA needs to display as a single straight line.
The Upper and Lower Band moves to and away from the stable MA.

All setting remain as default, it is only the visual output that changes

Thanx

The Source
So, you´re NOT looking for a bollinger bands indicator.
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-10-2007, 08:53 AM
thesource's Avatar
Senior Member
 
Join Date: Dec 2006
Location: My World
Posts: 222
thesource is on a distinguished road
Bollinger Indi

Hi Linux.

In principal it will still be an indicator, but it wont apply to the chart window along with the price. I've attached a pic of how I want the normal Bollinger bands to display. The Middle MA is displayed as a linear line while the Upper and Lower band still fluctuate around the central line in ratio.

I've tried to change the indicator code, but can't seem to get it right.

I am trying to create a new Volatility Indicator but need the bollinger to display like this.

Hope you have something

Safe Trades

The Source
Attached Images
File Type: jpg B.jpg (7.9 KB, 1088 views)
__________________
Safe Trades

the source
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-10-2007, 09:09 AM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 2,845
Blog Entries: 34
Linuxser has disabled reputation
I need to ask more for help.

So, you´re looking for an indicator with a horizontal middle line to plot in the second window.

Or, are you wanting to develop a band indicator?

BB´s are calculated over the 20 SMA values that´s why you have the bands with different measures.

Sorry, but if middle line is a horizontal line all calculations for the bands based on them will be flat.

Or, are you thinking in use the horizontal line for reference and to calculate the bands you use another formula?
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum

Last edited by Linuxser; 01-10-2007 at 12:57 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-10-2007, 01:59 PM
thesource's Avatar
Senior Member
 
Join Date: Dec 2006
Location: My World
Posts: 222
thesource is on a distinguished road
Line

Hi Linux

This is a tricky one I know. Code wise it is a nightmare. The BB indicator keeps it values. Ie.

Say the medium line has a value of 0.
The Middle Band has a Price value across 5 bars of eg. 1, 2, 3, 4, 5
Then the calculation must be -1,-2,-3,-4,-5 to display a straight line

The top band is eg 20,21,22,23,24,25
The subtraction is the same as calculated for the Middle Band

The bottom band is eg. -20,-21,-22,-23,-24,-25
The Middle line values are added to these values

Hereby you visually see a straight line but behind the scenes the 0 middle line is actually a price X.

I am looking for another indicator that works on this principal and see if I can adapt it to act like BB.

Hope this makes sense.

Keep Safe

The Source
__________________
Safe Trades

the source
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-10-2007, 02:09 PM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
Try this one...


Raff
Attached Files
File Type: mq4 BBflat_cw.mq4 (1.9 KB, 581 views)
File Type: mq4 BBflat_sw.mq4 (2.0 KB, 548 views)
__________________
http://www.gummy-stuff.org/raff-regression.htm

http://www.try-your-luck.com/

Lost in action ;-)... just_raff1410[at]yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-10-2007, 06:56 PM
thesource's Avatar
Senior Member
 
Join Date: Dec 2006
Location: My World
Posts: 222
thesource is on a distinguished road
SPOT ON Raff - You Beauty!!!!!!

I don't know how you do it but thank you.

Give me some time and I will send you the final product.

I think this is going to blow minds if I am right about the Vix BB.

Once again thank you. I hope the pips rain down on you.

Regards

The Source
__________________
Safe Trades

the source
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-10-2007, 11:02 PM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 2,845
Blog Entries: 34
Linuxser has disabled reputation
There is no secrets for Raff.

He can do it anything.
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-11-2007, 07:37 AM
raff1410's Avatar
Senior Member
 
Join Date: May 2006
Location: 24°10' E 54°24' N
Posts: 201
raff1410 is on a distinguished road
Quote:
Originally Posted by Linuxser
There is no secrets for Raff.

He can do it anything.
Even make a patch for my stupidity


Raff
__________________
http://www.gummy-stuff.org/raff-regression.htm

http://www.try-your-luck.com/

Lost in action ;-)... just_raff1410[at]yahoo.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-11-2007, 08:44 AM
Linuxser's Avatar
Moderator
 
Join Date: May 2006
Location: Helliconia (Spring)
Posts: 2,845
Blog Entries: 34
Linuxser has disabled reputation
Quote:
Originally Posted by raff1410
Even make a patch for my stupidity


Raff
In fact raff. I believe you´re one of the best MQL programmer and a very good person too.

I don´t know you, but all the times I needed and requested something you come in help with an incredible generosity and speed.

Pls, do not misunderstood my signature It was taken from the words of a friend who is a hacker in a meeting after speech a Microsoft study about the guilty of the user and the problems with the OS.

And the problems for a programmer to do anti dumbs applications.

IE: after 3 danger/warning messages about what the user is going to do, the user click on the three buttons in less than 3 seconds, meanwhile all data to read showing in relation with the action takes almost 3 minutes to be read.

Or, do not open suspicious files with X extension.

After the warning, 50% of users opened the file received by email with the X extension.



(and here I´m taken the hacker word with the original orientation, not in the way the media or the crow use that)
__________________
Elite Manual Trading | Portfolio | Calendar | Suggestions to improve the forum | My Blog

Remember: Signatures must have three lines as maximum

Last edited by Linuxser; 01-11-2007 at 08:54 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

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
how to define a static var in MT3.86 lamanosky Indicators - Metatrader 3 0 11-18-2006 12:43 PM
Bollinger Band of RSI? forex123 Indicators - Metatrader 4 2 05-14-2006 06:39 AM
Static variable problem - Please help cardio Questions 2 11-09-2005 11:45 AM


All times are GMT. The time now is 06:27 AM.



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