Draw vertical lines at time Indicator For MT4

Draw vertical lines at time Indicator For MT4

Table Of Contents:

  1. Draw vertical lines at time Indicator For MT4
  2. Installing the Draw vertical lines at time Indicator For MT4
  3. Parameters of the Draw vertical lines at time Indicator For MT4
  4. Buffers of the Draw vertical lines at time Indicator For MT4
  5. Main Parts Of The Code

The Draw vertical lines at time Indicator For MT4 allows traders to draw vertical lines at certain times of a trading day on the screen; now the market times is characterised by different trading sessions starting from the Asian session, moving on to the London session and ending the trading day with the New York session and then the cycle continues with the Asian session. You may use the The Draw vertical lines at time Indicator For MT4 to demarcate these trading sessions to help you zone into specific periods within the market because you might have a trading system which is time sensitive and is more conducive for specific trading sessions compared to other trading sessions so The Draw vertical lines at time Indicator For MT4 will help you to mark those sessions off using vertical lines. This encourages a sound discipline into trading system and also your lifestyle because you will know how to prioritise your trading system and session which is governed by "barricading" your trading zones pertaining to a particular session-sensitive trading strategy you may have developed.

FREE Draw vertical lines at time Indicator

Download the FREE Draw vertical lines at time Indicator for MT4.

To receive my email 100% sure: 
Put my email on your whitelist!

 

Partially Automated Trading Besides Your Day Job

Alerts In Real-Time When Divergences Occur

 

Installing the Draw vertical lines at time Indicator For MT4

After you downloaded the indicator via the form above you need to unzip the zip-file. Then you need to copy the file Draw_Vertical_Lines_at_Time.mq4 into the folder MQL4\Indicators of your MT4 installation. After that please restart MT4 and then you will be able to see the indicator in the list of indicators.

Parameters of the Draw vertical lines at time Indicator For MT4

The Draw vertical lines at time Indicator For MT4 has 4 parameters to configure.

extern int   HOUR                = 4; //Hour to draw the lines extern int   MINUTE              = 0; //Minute to draw the lines extern color Line_Color          = clrBlack; //Color of the lines input ENUM_LINE_STYLE Line_Style = STYLE_DASH; //Style of the lines 

Buffers of the Draw vertical lines at time Indicator For MT4

The Draw vertical lines at time Indicator For MT4 provides 0 buffers.

Main Parts Of The Code

void start() {    int Counted_bars=IndicatorCounted();     int i=Bars-Counted_bars-1;                   while(i gt =0)                           {         if(TimeHour(Time[i]) == HOUR && TimeMinute(Time[i]) == MINUTE)       {          if (ObjectFind(name+DoubleToStr(Time[i])) != 0)          {             ObjectCreate(name+DoubleToStr(Time[i]), OBJ_VLINE, 0, Time[i], 0);             ObjectSetInteger(0,name+DoubleToStr(Time[i]),OBJPROP_STYLE,Line_Style);             ObjectSet(name+DoubleToStr(Time[i]), OBJPROP_COLOR, Line_Color);          }       }       i--;    } }  

 

About Me

I'm Mike Semlitsch the owner of PerfectTrendSystem.com. My trading career started in 2007. Since 2013 I have helped thousands of traders to take their trading to the next level. Many of them are now constantly profitable traders. 

The following performance was achieved by me while trading live in front of hundreds of my clients:

Connect With Me:  

Results From 5 Months!
This service starts soon! Be the first who get's notified when it begins!

This FREE Indicator Can Transform
Your Trading!

FREE Indicator + Telegram Group


Request the Ultimate Double Top/Bottom Indicator which is used by 10,000+ traders.