The indicator automatically draws Fibonacci lines by yesterday's or today's range.
Some notes to use indicator input parameters:
input bool AutomaticallyAdjustToToday = true; //adjustment under the current prices input Hour TimeToAdjust=H00; //the hour of shifting Fibo input uint iDaysBackForHigh=0; //number of days back to obtain high input uint iDaysBackForLow=0; //number of days back to obtain low
This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 25.07.2008.
Fig.1 The AutoDayFibs indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1678