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

VGridLine Intraday X6 - MetaTrader 5 Script | Grid EA Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

VGridLine Intraday X6 - indicator for MetaTrader 5

The indicator displays a vertical time grid in six-hour steps on the chart, with the intraday time range not exceeding H6. This indicator is not displayed on H2 and H4.

VGridLine Intraday X6 - indicator for MetaTrader 5

Indicator input parameters:

//+------------------------------------------------------------------------+
//|Indicator input parameters |
//+------------------------------------------------------------------------+
//----General settings
Enter string line Mr. Name = “VGridLine_Intraday_X6” ; // Line name
Input unit weekly total = 4 ; // Index history weeks number
Input unit future total = 1 ; // Number of future rows to use for indexing

//---- Zhou Zhu settings
Input color Line_Color_W=gold; //Period line color
Input style Line_Style_W=SOLID_; // Weekly line style
Input ENUM_WIDTH Line_Width_W=w_1; // Width of perimeter line
Enter a Boolean value to set background_W= True ; // Period background display
Input unit future total_W= 1 ; // Number of rows in empty future history

//---- Settings of day bars
Input color Line_Color_D=red; // Daily line color
Input style Line_Style_D=SOLID_; // Daily line style
Input ENUM_WIDTH Line_Width_D=w_1; // Antenna width
Enter a Boolean value to set background_D= true ; // Antenna background display

//----Intraday bar setting (6 hours)
Input color Line_Color_D1=grey; // 6 hour line color
Input style Line_Style_D1=DASH_; // 6-hour line style
Enter ENUM_WIDTH Line_Width_D1=w_1; // 6 hour line width
Enter a Boolean value to set the background_D1= true ; // Our line background display for 6 hours

//---- Intraday bar setting (12 hours)
Input color Line_Color_D2=magenta; // 12 hour line color
Input style Line_Style_D2=DASH_; // 12 hour line style
Enter ENUM_WIDTH Line_Width_D2=w_1; // 12-hour line width
Enter a Boolean value to set the background_D2= true ; // 12 hour line background display

//---- Intraday bar setting (18 hours)
Input color Line_Color_D3=blue; // 18 hour line color
Input style Line_Style_D3=DASH_; // 18 hour line style
Enter ENUM_WIDTH Line_Width_D3=w_1; // 18 hour line width
Enter a Boolean value to set the background_D3= true ; // 18 hour line background display


Attachment download

📎 vgridline_intraday_x6.mq5 (19.51 KB)

Source: MQL5 #622

Verification code Refresh