day of week, week of year and other marks in data window and on chart

day of week, week of year and other marks in data window and on chart
Download ALL MT5 indicators (5742)
YouTube Video Thumbnail



Similar MetaTrader Tools

day of week, week of year and other marks in data window and on chart

Info

The day of week, week of year and other marks in data window and on chart is a Indicator for MetaTrader 5 that the indicator weekdays displays day of week, week of year, day of year or bar index in the data window, and optionally in labels on the chart. as usual, the information in the data window is updated dynamically according to mouse movements: the name of the day is always promptly updated in the left column, whereas the content of the right column is defined by the settings, specifically the inputs wholepart and fractionalpart.

Usage

This tool is typically used for enhancing chart analysis and decision making.

Platform

This Indicator works exclusively on MetaTrader 5 (both build 600+ and newer versions).

Setup

Place the downloaded file in MQL5/Indicators folder via File ? Open Data Folder in MetaTrader 5.


How to Install and Use day of week, week of year and other marks in data window and on chart

1. Installation: Place your file in the MQL/Indicators folder via "Open Data Folder" and restart your terminal.

2. Loading: Find the indicator in the Navigator, drag it onto your chart, and configure the input parameters in the popup window.

3. Customization: Press Ctrl+I to open the indicator list, select your tool, and click "Properties" to change colors, levels, or visual styles.

4. Updating: Replace the old file in the Indicators folder with the new version and restart the platform to apply changes.

Frequently Asked Questions

Q: Why is my indicator not showing? A: Verify the file is in the MQL/Indicators folder, or try right-clicking the "Indicators" tree in the Navigator and clicking "Refresh."

Q: Do custom indicators slow down the platform? A: Too many complex indicators can impact performance; remove unused ones via the "Indicator List" (Ctrl+I).

Q: Can I use MT4 indicators on MT5? A: No, MQL4 and MQL5 are distinct languages; ensure the indicator is compiled specifically for your platform version.

What this tool does

the indicator weekdays displays day of week, week of year, day of year or bar index in the data window, and optionally in labels on the chart.

Typical Use Case

This Indicator excels in automated trading and technical analysis on MetaTrader 5.

Compatible Platform & Setup

This Indicator works on MetaTrader 5. Place the file in the MQL5/Indicators folder and restart the terminal.

Description & Settings

Related: weekend gap statistics and distribution analyzer - another powerful indicator for MetaTrader 5 traders.

the indicator weekdays displays day of week, week of year, day of year or bar index in the data window, and optionally in labels on the chart. as usual, the information in the data window is updated dynamically according to mouse movements: the name of the day is always promptly updated in the left column, whereas the content of the right column is defined by the settings, specifically the inputs wholepart and fractionalpart. each of them allows user to select one of the entities to display: day of week, week of year, day of year, bar index, or none.

Also recommended: VGrid Line Weekly Indicator - similar indicator with strong performance on MetaTrader 5.


wholepart - selector for the number in front of the floating point;

fractionalpart - selector for the number after the floating point; two selected properties (integer numbers) are combined into a single floating point value for every bar and stored in the indicator buffer. of course, the buffer made invisible on the chart due to draw_none style, because its values are synthetic. for example, for the screenshot below the name of the day is tue, and the buffer containing week.doy (day of year index) shows value 44.302, that is 44-th week and 302-th day of the year, respectively. the other inputs allows user to specify whether or not to showlabels on chart, what fontname, fontsize, fontcolor to use, as well as padding from top/bottom edges, how to align them (top/middle/bottom), and optional rotationangle for middle alignment.
default clrnone for fontcolor means reverse color for current chart background.

You may also like: Weekly Pivot Indicator - excellent alternative for indicator users on MetaTrader 5.

Source Code

#property copyright "RobotFX"
#property link "https://robotfx.org"
#property description "Educational code - RobotFX www.robotfx.org"
#property description "Educational code - RobotFX www.robotfx.org"
#property version "1.0"
#property indicator_chart_window 0
#property indicator_buffers      1
#property indicator_plots        1
#property indicator_type1   DRAW_NONE
#include <MQL5Book/DateTime.mqh>

.......

Leave your opinion, ask a question, share some knowledge

Limitations & Risk Warning

  • This tool is provided for educational and testing purposes only.
  • Past performance does not guarantee future results.
  • Trading involves substantial risk of loss. Use on a demo account first.
  • Results may vary depending on market conditions, broker, and settings.
  • We recommend thorough backtesting and forward testing before using with real funds.
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.