How to use “Vertical Time Lines” – can draw up to 6 different vertical lines within the time specified on MT4
This article introduces the “Vertical Time Lines" index that can draw up to 6 lines within the time specified on MT4 (MetaTrader4).
“Vertical Time Lines" is a indicator that draws straight line matched the time when the NY forex market is highly volatile, the market opening time or closing time. Easy-to-view timeframes with eyes.
Download the indicator that can draw a line at a certain time in MT4
Download “Vertical Time Lines" from the official MQL5 website below.
Click the URL “vertical_time_lines.mq4".
https://www.mql5.com/en/code/12266File mq4 is download as below.
Browse to find the file “vertical_time_lines.mq4" downloed before, then move it to the folder “Indicators".
Move the indicator file to the MT4 folder
Start MT4 then click on “File" → “Open Data Folder" at the top of the screen.
After opening the folder, continue to open “MQL4" → “Indicators".
Browse to find the file “vertical_time_lines.mq4" downloed before, then move it to the folder “Indicators".
Restart MT4 to apply vertical_time_lines
When inserting new indicator into MT4, you need to restart MT4 for the indicator to be displayed.
After starting MT4, select “Navigator" → “Indicator" → “vertical_time_lines" Then drag and drop the chart you want to apply.
You can also display by selecting “Add" → “Vertical Analysis Tool" “Customize" “vertical_time_lines".
Set up vertical_time_lines
Set the display from the input parameter tag.
In this tag there are many items but the basic setup is very simple, just set up 2 positions for each line
- Visible
- true: Displayed
- false: Not displayed
- Time
- true: Specify the time you want to drag the vertical line
A vertical line is displayed by selecting “Line 1 Visible" as “True". The vertical line set at that time will be displayed by specifying “Line 1 Time" as below.
Alternatively, you can change the color and style of the vertical line.
Display time is GMT + 3
XM’s MT4 is displayed in the GMT + 3 time zone and has a time difference of 8 hours compared to Vietnam time zone. (5 hour difference by summer time)
For example, if you want to drag vertical lines at 20 o’clock (US summer time) by the Vietnam time around the same time as the NY foreign exchange market, set up vertical time lines at 4 o’clock.
The vertical line set at the specified time will be displayed
With these simple steps, the vertical line at the specified time will be displayed. The standard setting only displays 2 lines, but you can draw up to 6 vertical lines by setting the Visible to true.
How to delete vertical_time_lines indicator
Right click on the chart → select “Displayed indicators" → “vertical_time_lines", then just click on “Delete".
Link to download “Vertical Time Lines"
https://www.mql5.com/en/code/12266