Fibonacci Independence

0
(0)
Name:
Fibonacci Independence
Author: bdeyes (2012.08.16 10:28)
Downloaded: 7314
Download:
Fibonacci Independence 1
 Fibo_Independence.mq4 (12.9 Kb) View
Fibonacci Independence 1 Fibo_Independence E.mq4 (12.3 Kb) View
EDIT: I have implemented the changes suggested by deVries below - these are the revised indicators.I had need of a fib tool a little more flexible than the one that comes with MT4. Many contributors have made a great many attempts to solve this but none of the ones that I have found did exactly what I needed so I created this.

It sits on your chart as an indicator and when you need a fib you just draw a trendline where you want to see the fib and rename the trendline. You can chose which fib lines to display and what colors, thickness and style each fib line is.

As you adjust the trendline the fib levels recalculate.

To use:

Place indicator on your chart. You can place multiple copies of the indi if you make each TrendName value unique (i.e Fib1, Fib2, Fib3, etc).

Draw a trendline where you want the Fibonacci levels calculated (same as you would with the MT4 fib retracement tool). Open the trendline properties box and name the trendline the same as the TrendName i.e. "Fib1".

Fib levels will calculate on next tick or you can refresh your chart.

To make changes open the Fibo_Independence indicator properties box and make adjustments

You can choose which levels to display, what color each of the lines are, what width each of the lines are, and what style each of the lines are all without redrawing the fib.

To make any of the settings the "default" make changes in MetaEditor and then compile the indicator again.
Also I have a companion indicator I might as put up here as well. (see pictures below)
Fibo_Independence E – works same as Fib_Independence except it marks external fib retracements on the trend line length i.e. 161.8%. (Open the trendline properties box and name the trendline "FibE1".)

Notes: the trendlines must be named the same as the name at TrendName in the properties of the indicator so that the indicator will find the correct line.

At the beginning of the text label there is a notation to tell you which indicator created which line.

To save default settings for running multiples of the indicator just make a template with the settings.

Fibo_Independence

Fibonacci Independence 3

Fibo_Independence E

Fibonacci Independence 4

Why does the cursor

24.08.2012 08:45 Director

deVries:And replace all

" + Instance" for " + TrendName"

That way You can use one indicator drawing your lines on your chart

You have only to attached it a few times if you wanna have Fibo's for more then one TrendLine

Regards, Tjipke

Thanks Tjipke,

That does make things cleaner.

I have made the changes and posted the revised indicators

 

16.08.2012 16:58 bdeyes

//int Instance = 1; //set to unique number to run multiple...
                         // instances of the indi on the same chart
extern string TrendName = "Fib1"; // Unique name of trend line to place fib on.

It is not needed to use Instance the name of a trendline is also unique....

This way you make the name of the indicator

   IndicatorShortName("Fibo_Independence " + TrendName);

And replace all

" + Instance" for " + TrendName"

That way You can use one indicator drawing your lines on your chart

You have only to attached it a few times if you wanna have Fibo's for more then one TrendLine

Regards, Tjipke

16.08.2012 13:36 deVries

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?



Author: Forex Wiki Team
We are a team of highly experienced Forex Traders [2000-2023] who are dedicated to living life on our own terms. Our primary objective is to attain financial independence and freedom, and we have pursued self-education and gained extensive experience in the Forex market as our means to achieve a self-sustainable lifestyle.