• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 7:33pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 7:33pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Printable Version

Similar Threads

to take fibo ratio and extensions automatically 9 replies

Fibo Fibo Fibo 14 replies

fibo alert indicator - get alerts on fibo levels 4 replies

I need some MQ4 help from a real MQ4 programmer 2 replies

moutaki Mq4+fibo grid Mq4=profit+ease 39 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 7
Attachments: Add price to Fibo levels automatically using Set_Fibo_Price_Any_V2.mq4
Exit Attachments

Add price to Fibo levels automatically using Set_Fibo_Price_Any_V2.mq4

  • Last Post
  •  
  • Page 1 2
  • Page 1 2
  •  
  • Post #1
  • Quote
  • First Post: Edited Jan 15, 2010 10:41pm Oct 31, 2007 4:36pm | Edited Jan 15, 2010 10:41pm
  •  pips4life
  • Joined Apr 2007 | Status: Member | 699 Posts
Hi all,

The very prolific coder Waddah Attar created a fantastic but simple little indicator which adds price info to each line of a Fibonacci Retracement object. His original version of Set_Fibo_Price_Any.mq4 is found at: http://codebase.mql4.com/1003

However, I created Set_Fibo_Price_Any_V2.mq4, which enhances his already great tool by adding prices to Fibo Expansion objects as well. I also added an option to use a slightly more compact format, or you can use his original format. When you add multiple fibos to a chart, or use small chart windows, the more compact format is a slight advantage. Waddah's format is perhaps slightly more readable, but either one works fine.

Example:

Current fibo retracement lines (TextStyle = 0) are marked with level only:
61.8

Compact format (TextStyle = 2) gives both the level AND price:
61.8 234.67

Waddah's original text style (TextStyle = 1) labels the line as:
(61.8) - 234.67


Similarly, Fibo Expansion lines will have labels like:

Standard format:
FE 61.8

Compact format with price:
FE 61.8 234.67

Waddah's original format:
FE (61.8) - 234.67



Pips4life

P.S.

Instructions: As with any indicator, copy the mq4 file to directory:
Crogram Files_your_MT4_name_here_expertsindicators

Compile using MetaEditor which will create the .ex4 file in the same directory. My compiled .ex4 file is attached for your convenience.
See further notes and instructions inside the .mq4 file.

-----------------------------------------------
FYI, see also: Collection of programs by pips4life
-----------------------------------------------
Attached Files
File Type: mq4 Set_Fibo_Price_Any_V2.mq4   7 KB | 15,371 downloads
File Type: ex4 Set_Fibo_Price_Any_V2.ex4   4 KB | 8,079 downloads
  • Post #2
  • Quote
  • Oct 31, 2007 4:40pm Oct 31, 2007 4:40pm
  •  pips4life
  • Joined Apr 2007 | Status: Member | 699 Posts
Here's an example of what Set_Fibo_Price_Any_V2 does.

The levels for both Fibo Retracement and Fibo Expansion objects are affected.

On the left is a picture with default MT4 labels (levels but no prices).
In the middle is the compact format (levels and prices)
On the right is Waddah's original format.
Attached Image (click to enlarge)
Click to Enlarge

Name: Set_Fibo_Price_Any_V2.jpg
Size: 154 KB
  • Post #3
  • Quote
  • Oct 31, 2007 6:45pm Oct 31, 2007 6:45pm
  •  el grande
  • Joined Nov 2006 | Status: Member | 2,021 Posts
Quoting pips4life
Disliked
Here's an example of what Set_Fibo_Price_Any_V2 does.

The levels for both Fibo Retracement and Fibo Expansion objects are affected.

On the left is a picture with default MT4 labels (levels but no prices).
In the middle is the compact format (levels and prices)
On the right is Waddah's original format.
Ignored

Thank you for further improving this tool. I am sure many would be glad and thankful that you worked on this.

EG
  • Post #4
  • Quote
  • Jan 23, 2008 11:42pm Jan 23, 2008 11:42pm
  •  funnyboy
  • | Joined Jan 2007 | Status: Member | 131 Posts
Thank you. I was looking for this one. Keep creating new indicators for our members.
  • Post #5
  • Quote
  • Feb 9, 2008 11:35am Feb 9, 2008 11:35am
  •  serhito
  • | Joined Mar 2007 | Status: Member | 13 Posts
Am I missing something ?

All you have to do to get this feature is add "%$", in the Fibo level settings. In the description field. Fore example "50 %$". Done.
  • Post #6
  • Quote
  • Feb 9, 2008 5:07pm Feb 9, 2008 5:07pm
  •  pips4life
  • Joined Apr 2007 | Status: Member | 699 Posts
Quoting serhito
Disliked
Am I missing something ?

All you have to do to get this feature is add "%$", in the Fibo level settings. In the description field. Fore example "50 %$". Done.
Ignored
No you are right. You can manually edit the description for each fib level to add %$ and the price will be displayed. It's a minor bother to do it for every fib level. This indicator makes that edit for you, although one might argue that if you do it once in your MT4, then all your newly drawn fibs will have it without this indicator. That would save one the trouble of adding this indicator to every chart, but for me, I just made it part of my default charts.

I have thought about extending the features of this indicator to allow the user to choose from different sets of fib levels, but that's a low priority for me for the time being. That would extend the utility of this indicator beyond just adding the display of price levels.
  • Post #7
  • Quote
  • Feb 11, 2008 12:00pm Feb 11, 2008 12:00pm
  •  NorCalFX
  • | Joined Jul 2007 | Status: Member | 4 Posts
Thank you Pips4Life for creating this. The lack of the price point on the fibo lines is one of my few dislikes of MT4 charts. Nice that you went to the trouble to do this (and/or improve it from the original author).
  • Post #8
  • Quote
  • Feb 11, 2008 12:04pm Feb 11, 2008 12:04pm
  •  CounterTrend
  • | Joined Feb 2008 | Status: I trade against the trend | 286 Posts
You are great, and I pass all thanks from all users to you. Keep doing it!
  • Post #9
  • Quote
  • Feb 22, 2008 7:00am Feb 22, 2008 7:00am
  •  serhito
  • | Joined Mar 2007 | Status: Member | 13 Posts
Quoting pips4life
Disliked
No you are right. You can manually edit the description for each fib level to add %$ and the price will be displayed. It's a minor bother to do it for every fib level. This indicator makes that edit for you, although one might argue that if you do it once in your MT4, then all your newly drawn fibs will have it without this indicator. That would save one the trouble of adding this indicator to every chart, but for me, I just made it part of my default charts.

I have thought about extending the features of this indicator to allow the user to choose from different sets of fib levels, but that's a low priority for me for the time being. That would extend the utility of this indicator beyond just adding the display of price levels.
Ignored
Do you know if there is any way to set the different fib levels with a different color ? For example 50% red, 61.8% white ?

Thanks
  • Post #10
  • Quote
  • Feb 29, 2008 6:52pm Feb 29, 2008 6:52pm
  •  naatha
  • | Joined Jan 2008 | Status: Member | 802 Posts
http://www.forexfactory.com/showpost...ostcount=63748

some improvemet - will be great
  • Post #11
  • Quote
  • Dec 4, 2008 12:19am Dec 4, 2008 12:19am
  •  DanFXM
  • | Joined Sep 2008 | Status: Member | 2 Posts
[quote=pips4life;1691450]Hi all,

The very prolific coder Waddah Attar created a fantastic but simple little indicator which adds price info to each line of a Fibonacci Retracement object. His original version of Set_Fibo_Price_Any.mq4 is found at:[quote]

Hello,

Thanks for shareing this indicator.

Do you have or know how to code an indicator that changes the color of each Fibonacci Retracement and Expansion lines? For instance, lets say I want to make the show the 0.0 and 1.00 as gray, then the 38.2 and 61.8 as blue, same for expansíon.

I saw this indicator on a video from youtube, but couldn't never get the indicator.

Best Regards

Best Regards
  • Post #12
  • Quote
  • Dec 5, 2008 5:10pm Dec 5, 2008 5:10pm
  •  pips4life
  • Joined Apr 2007 | Status: Member | 699 Posts
Quoting DanFXM
Disliked
Quoting pips4life
Disliked
Hi all,

The very prolific coder Waddah Attar created a fantastic but simple little indicator which adds price info to each line of a Fibonacci Retracement object. His original version of Set_Fibo_Price_Any.mq4 is found at:
Ignored
Hello,

Thanks for shareing this indicator.

Do you have or know how to code an indicator that changes the color of each Fibonacci Retracement and Expansion lines? For instance, lets say I want to make the show the 0.0 and 1.00 as gray, then the 38.2 and 61.8 as blue, same for expansíon.

I saw this indicator on a video from youtube, but couldn't never get the indicator.

Best Regards

Best Regards
Ignored
In MT4, each Fibo object can have only 1 color and line style for all of the various levels. You cannot make any specific level a different color. You can delete specific levels only by editing the object and finding and deleting that specific level in the list of levels, which is fairly tedious.

What is possible to do -- and I think this is what that indicator you mentioned probably does -- is to have a program convert a single fibo object into the equivalent "look" of a fibo object, but is actually a collection of many objects. Each fibo level can be represented by a trendline object, and so that object's color and style can be customized and easily made to appear different from all the other fibo levels. Each level is deletable too because anyone can simply select and delete any single object.

I do not know whether the program you mentioned is available any more or not. I believe an early version was timebombed but no updates were made available since then, and the coder apparently dropped support of it for whatever reason. If you find it, please post an update.
  • Post #13
  • Quote
  • Sep 2, 2010 3:54am Sep 2, 2010 3:54am
  •  oktam
  • | Joined Sep 2010 | Status: Junior Member | 1 Post
Hello there.

Would it be possibel somehow add "Fibonacci Channel" into this indicator?
In case where "Fibonacci Channel" uses horisontal lines...

Thanks for great tool.
  • Post #14
  • Quote
  • Sep 16, 2010 5:51am Sep 16, 2010 5:51am
  •  fxpig
  • | Joined Jul 2006 | Status: Member | 45 Posts
Quoting pips4life
Disliked
Here's an example of what Set_Fibo_Price_Any_V2 does.

The levels for both Fibo Retracement and Fibo Expansion objects are affected.

On the left is a picture with default MT4 labels (levels but no prices).
In the middle is the compact format (levels and prices)
On the right is Waddah's original format.
Ignored
Thank you for sharing your indicator.
However after put them into the indicator file,
and attached to the main chart, nothing does appear.
I wonder what did I do wrong?
BTW the indicator has been compiled prior to attachment.

Thank again for your kind help.
  • Post #15
  • Quote
  • Feb 7, 2012 10:13pm Feb 7, 2012 10:13pm
  •  ijal
  • | Joined Apr 2006 | Status: Member | 6 Posts
Thanks for your indicator.

Someone please help me, I want to add price(price level 100 - price level 0.0) to fibo level 100.0 line.

example:
fibo level
0.0 1.3181
--------------------------------
61.8 1.3124
--------------------------------
100.0 1.3089 (92)
--------------------------------

*(92) = level 0 price - level 100 price.
So next time we can simply drag fibo to know how many pips at some point.
Pipsmore
  • Post #16
  • Quote
  • Sep 21, 2012 2:02am Sep 21, 2012 2:02am
  •  amochoc
  • | Joined Feb 2011 | Status: Member | 2 Posts
Thanks for the indicator! Its great for setting price alarms for Fib target projections in my trading. A very handy tool, and very much appreciated.
  • Post #17
  • Quote
  • Sep 21, 2012 7:48am Sep 21, 2012 7:48am
  •  mtbf40
  • | Joined Jun 2010 | Status: Member | 82 Posts
Hallo,

i have merged 2 Indicators: FiboColorChange and Set_Fibo_Price_Any_V2
to Set_Fibo_Price_Color_v3.

Regards

Attached Files
File Type: mq4 Set_Fibo_Price_Color_v3.mq4   10 KB | 5,162 downloads
File Type: ex4 Set_Fibo_Price_Color_v3.ex4   8 KB | 2,881 downloads
  • Post #18
  • Quote
  • Aug 27, 2015 8:14am Aug 27, 2015 8:14am
  •  abooz
  • | Joined Sep 2008 | Status: beLIEve! | 60 Posts
Thanks for the nice indicator. Thanks
  • Post #19
  • Quote
  • Oct 5, 2015 10:59am Oct 5, 2015 10:59am
  •  2george
  • Joined Feb 2007 | Status: Member | 306 Posts
Is there any reason these indicators would not show on a chart? Tried 2 platforms and neither of them would show the indi working. Has new MT4 set up blocked it?
George
  • Post #20
  • Quote
  • Sep 6, 2018 12:02am Sep 6, 2018 12:02am
  •  MrMoret27
  • | Joined Apr 2018 | Status: Junior Member | 1 Post
Hi guys,
thanks for the great tools. I've set the price levels on the Fibo Description and now what i'm trying to do is get it into a double array, how can i do it?
I've tried with something like this but i only see the "%$" thing. How can i "transform" that to a double value?
Inserted Code
fiboLvlPrice[0] = ObjectGetFiboDescription(fiboName, 2);
Comment(fiboLvlPrice[0])

Thank you!
  • Platform Tech
  • /
  • Add price to Fibo levels automatically using Set_Fibo_Price_Any_V2.mq4
  • Reply to Thread
    • Page 1 2
    • Page 1 2
0 traders viewing now
  • More
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 / ©2021