Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | AutoDayFibs

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
  • AutomaticallyAdjustToToday (adjustment under the current prices) - the parameter determines whether to have the indicator automatically adjust to today's prices;
  • TimeToAdjust (the hour of shifting Fibo 0 /23) - If the AutomaticallyAdjustToToday parameter is set to 'true', you can define at what time the fib lines switch to using today's prices instead of the yesterday's ones;
  • iDaysBackForHigh and iDaysBackForLow. If the AutomaticallyAdjustToToday parameter is set to 'false', you can adjust the amount of days back to get high and low, from which the readout will start.

This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 25.07.2008.  

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1 The AutoDayFibs indicator

1678

Best MetaTrader Indicators + Profitable Expert Advisors