Forex



Go Back   Forex Trading > Downloads > Indicators - Metatrader 4






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.

 
 
Thread Tools
 
Old 01-09-2007, 10: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-09-2007, 11:14 PM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,408
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
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.
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!
 
Old 01-10-2007, 09: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, 1637 views)
__________________
Safe Trades

the source
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!
 
Old 01-10-2007, 10:09 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,408
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
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?

Last edited by Linuxser; 01-10-2007 at 01:57 PM.
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!
 
Old 01-10-2007, 02: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-10-2007, 03: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, 818 views)
File Type: mq4 BBflat_sw.mq4 (2.0 KB, 771 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!
 
Old 01-10-2007, 07: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!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 01-11-2007, 12:02 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,408
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
There is no secrets for Raff.

He can do it anything.
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!
 
Old 01-11-2007, 08: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
__________________
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!
 
Old 01-11-2007, 09:44 AM
Linuxser's Avatar
User Root
 
Join Date: May 2006
Location: Helliconia (Winter)
Posts: 4,408
Blog Entries: 56
Linuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond reputeLinuxser has a reputation beyond repute
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)

Last edited by Linuxser; 01-11-2007 at 09:54 AM.
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!
 

Bookmarks
Thread Tools

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 01:43 PM
Bollinger Band of RSI? forex123 Indicators - Metatrader 4 2 05-14-2006 07:39 AM
Static variable problem - Please help cardio Questions 2 11-09-2005 12:45 PM


All times are GMT. The time now is 01:05 PM.



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