MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Buy Expert Advisors in MetaTrader Market and Let Them Trade For You
To post a new code, please log in or register

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2009.12.08 10:04

Auto-Fibonacci - indicator for MetaTrader 4

| English Spanish Portuguese Russian

votes: 2
AutoFibo.mq4 (2.78 KB)view


This indicator will create a Fibonacci Retracement Object on your chart, and auto-update its values.

You can indicate if you prefer to use the classic High/Low values, or the less classic Open/Close ones (price_type: 0 = High/Low, 1 = Open/Close).

You can also define how many bars to look back maximum (Band_period).

Indicator settings (Band_period, price_type)

Color settings


Auto-Fibonacci - AUDUSD H1, Period=72

Last comments | Go to discussion (8)
zenhop | 14 Jan 2010 at 12:04

Well, this indicator is not really accurate.

I'll do it better soon.

edwinodus | 27 Jan 2010 at 04:17

Is band_period the same as number_of_bars?

MQL4 Comments
mql4_comments | 27 May 2010 at 03:31

Thanks, not perfect but a great place to start instead of from scratch :) This will save me lots of time.

COACCAUNT | 17 May 2011 at 11:50

Hello Author,

a idea, can you a create this Fib, with an entry Point by a mouseclick. After this, the fib shows the entrypoint automatically to the low, in the result: you have your best fib level, that you search.



cfx2013 | 18 Jan 2014 at 16:55
How to chage the color permanently ? is there any inputs option ? Thks