Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

AutoDayFibs - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources

author EAcpu | 4 reads | 0 comments |

AutoDayFibs - indicator for MetaTrader 5

AutoDayFibs - indicator for MetaTrader 5

AutoDayFibs - indicator for MetaTrader 5

AutoDayFibs - indicator for MetaTrader 5

AutoDayFibs - indicator for MetaTrader 5

AutoDayFibs - indicator for MetaTrader 5

AutoDayFibs - indicator for MetaTrader 5

AutoDayFibs - indicator for MetaTrader 5

The indicator automatically draws Fibonacci lines based on yesterday's or today's range.

Some notes on using indicator input parameters:

 Input boolean auto-adjust to today = true ; //adjustment at current price
Enter the hour TimeToAdjust=H00; //Fibonacci moving time
Input unit iDaysBackForHigh= 0 ; //Return the number of days to get high points
Input unit iDaysBackForLow= 0 ; //Return the number of days to the low point
  • AutomaticallyAdjustToToday (adjust at current price) - this parameter determines whether to let the indicator automatically adjust to today's price;
  • TimeToAdjust (time of Fibonacci 0 /23 transition) - If you set the AutomaticallyAdjustToToday parameter to "true" you can define when the Fibonacci lines switch to using today's prices instead of yesterday's prices;
  • iDaysBackForHigh and iDaysBackForLow. If the "AutomaticallyAdjustToToday" parameter is set to "false" you can adjust the number of days to get highs and lows from which readings are started.

The indicator was first implemented in MQL4 and published in the code base of mql4.com on July 25, 2008.

AutoDayFibs - indicator for MetaTrader 5

Figure 1 AutoDayFibs indicator


Attachment download

📎 autodayfibs.mq5 (16.9 KB)

Source: MQL5 #1678

Verification code Refresh