Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
10180
Rating:
(25)
Published:
2013.05.15 10:54
Updated:
2016.11.22 07:32
autodayfibs.mq5 (16.9 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.  

Fig.1 The AutoDayFibs indicator

Fig.1 The AutoDayFibs indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1678

ChannelZZ ChannelZZ

The channel ZigZag

Exp_MUV_NorDIFF_Cloud Exp_MUV_NorDIFF_Cloud

Trading system using the XMUV and MUV_NorDIFF_Cloud indicators.

TrendStrengthv2 TrendStrengthv2

Conversion from MetaTrader 4 version.

Cam_H2_H5_Historical Cam_H2_H5_Historical

A modified Camarilla dt Historical indicator