1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fibtree indicator

Discussion in 'Sive Morten- Currencies, Gold, Bitcoin Daily Video' started by Synchronicity, Mar 14, 2012.

  1. Synchronicity

    Synchronicity Sergeant

    Joined:
    Apr 28, 2009
    Messages:
    166
    Likes Received:
    65
    Hi All

    Version 4 of the indicator is now available for download. The code has been significantly rewritten to take advantage of functionality in the latest version of Metatrader 4 so this version is only for use in Metatrader 4 build 600 and above. The principal benefit is that the code is much more efficient, only running when a change is made.

    Version 3 for older systems is still available through the links below.

    The main changes are:

    All fib lines and labels are deleted when the indicator is removed from the chart.
    Deleting the trendline now deletes all associated fib lines and labels.
    -3 and -4 for hiding fib lines is no longer supported.
    Delete for deleting fib lines is no longer supported.

    I have edited the instructions below as required.
    ----------------------------------------------------

    I have been given permission to share my Fibonacci Tree indicator, and the links are below. Please don’t distribute this elsewhere, or include it in posts on this site. If anyone is interested in it send them to this thread so that they get the latest version and support if required.

    The FibTree indicator will plot the Fibonacci retracement lines related to a trend line. It allows the user to offset the plotting of these lines, giving a tree effect and allows for a label to be added to each set.
    This indicator does not give signals or buy/hold/sell advice, it simply displays some Fibonacci levels.

    Please take a few minutes to read these instructions.

    Adding the indicator:
    The indicator is added to the charts in the normal manner for MetaTrader. (into the \MQL4\Indicators folder
    On the menu bar select Insert – Indicators – Custom and then select FibTree_V4

    To plot the fib levels:
    Draw a trend line between the points you want to plot the Fib levels for.
    In the trend line properties Description field enter Fibo, Number, Text, n where
    Fibo – not case sensitive, this tells the indicator to plot the fib lines for this trend line.
    Number – Positive integer which tells the indicator how much to offset the plot for this trend line. Typically this number increases the further away you are from the focus point.
    Text – (optional) an optional text label which will be plotted after the fib lines value.
    n – (optional) Enter 3 to plot the 0.382 fib line. Enter 4 to plot the 0.5 fib line and enter 5 to plot the 0.618 fib line. These can be entered in any combination and order eg. 53 will plot 0.382 and 0.618.

    Example Fibo,2,T, 345

    Only the first two parameters are required so you can plot the same three levels without a label by entering Fibo,2

    Setting the indicator properties:
    There are a number of variables which affect the behaviour of the indicator. They are listed here along with their default values. To change these values go to the menu bar and select Chart – Indicator List – Fibtree_V4 – Edit. Then select the Inputs tab.

    Show_Trendline This causes the source trendlines to be shown or hidden.
    Default_Space The default number of bars between each fib line set.
    LineWidth The width of the plotted lines.
    Line_Base The colour of the 100% line and the joining bar.
    Line_382 The colour of the 0.382 fib retracement line and labels.
    Line_500 The colour of the 0.5 fib retracement line and labels.
    Line_618 The colour of the 0.618 fib retracement line and labels.
    Background Used for hiding the trend line, set this to the background colour of your charts.
    Font_As_Line If true the indicator will plot the labels for each fib line in the same colour as the line, set above. If false the labels will be plotted in the Font_Colour set below.
    Font_Name The name of the font to be used for the labels. The system default will be used if this font can't be found.
    Font_Size Font size for all plotted labels.
    Font_Colour Default colour for all labels.


    Hiding Trendlines:
    Select Chart – Indicator List – Fibtree_V4– Edit. Then select the Inputs tab
    Change Show_Trendline to False.
    This will cause all trendlines with the Fibo keyword to be hidden but the fib lines will remain and will still update, i.e. they will move along as new bars are created.
    Changing Show_Trendline to True will restore them to view and allow them to be edited, moved or deleted.
    NOTE: This works by setting the trendline to be drawn in the background and changing its colour to that set in the Background variable above. If the line passes through coloured areas, eg and ellipse or triangle you have drawn in another colour then it may be visible in that area.

    Fibtree V4 Links
    The links
    FibTree V4 EX4 file

    Zipped in case your anti virus blocks EX4 files.
    FibTree V4 Zip File

    Fibtree V3 Links


    The links
    FibTree V3 EX4 file

    Zipped in case your anti virus blocks EX4 files.
    FibTree V3 Zip File

    Usage notes for V3
    FibTree V3 usage notes

    Please post questions or bugs here, but please read the instructions and play with it a bit first!!

    All the best

    Michael
     
    #1 Synchronicity, Mar 14, 2012
    Last edited: Jun 8, 2014
    soul rebel, fajrss, elie and 7 others like this.
  2. rashidin5178

    rashidin5178 Sergeant

    Joined:
    Oct 10, 2007
    Messages:
    244
    Likes Received:
    1
    Thanks a lot Michael. This surely will help us a lot.
    Thanks and Best Regards
     
    Zakirussen likes this.
  3. cheater

    cheater Private, 1st Class

    Joined:
    Mar 1, 2012
    Messages:
    47
    Likes Received:
    0
    Hi Michael,

    Would it be possible to have in MT5 codes as well? Thanks
     
  4. DJG

    DJG Corporal

    Joined:
    Jun 30, 2011
    Messages:
    85
    Likes Received:
    1
    Thanks Michael for the indicator
     
  5. Venelin

    Venelin Master Sergeant

    Joined:
    Aug 6, 2009
    Messages:
    391
    Likes Received:
    178
    Big THANK YOU!
     
  6. Synchronicity

    Synchronicity Sergeant

    Joined:
    Apr 28, 2009
    Messages:
    166
    Likes Received:
    65
    Sorry cheater but I don't use MT5

    Michael
     
  7. squidge42

    squidge42 Corporal

    Joined:
    Apr 7, 2011
    Messages:
    140
    Likes Received:
    2
    You're a Gentleman and a Scholar..many many thanks
     
    #7 squidge42, Mar 15, 2012
    Last edited: Mar 15, 2012
    elie and Shirl like this.
  8. Venelin

    Venelin Master Sergeant

    Joined:
    Aug 6, 2009
    Messages:
    391
    Likes Received:
    178
    Hey Michael, It would be awesome if you can post a FibTree version for black background with white lines, so users with black background charts to plot indicator with the same speed :) Thank you!
     
  9. Synchronicity

    Synchronicity Sergeant

    Joined:
    Apr 28, 2009
    Messages:
    166
    Likes Received:
    65
    You already can. Just change the line colour parameters to suit...

    Line_Base The colour of the 100% line and the joining bar
    Line_.382 The colour of the 0.382 fib retracement line and labels
    Line_.618 The colour of the 0.618 fib retracement line and labels

    and also change the background parameter so that the trendline hiding works.

    Background Used for hiding the trend line, set this to the background colour of your charts

    All the best

    Michael
     
  10. Venelin

    Venelin Master Sergeant

    Joined:
    Aug 6, 2009
    Messages:
    391
    Likes Received:
    178
    Oh, I am sorry Michael I did not make my self clear! I mean if it is possible to post another version with default settings for black background(just replace white with black and black with white)!I am sure it is an easy change :) This way users will choose which FibTree to download one for white background and one for black! Thank you!
     

Share This Page