draw horizontal line with right ray

 

hi guys 

I am struggling with mql5 

I need some code to draw horizontal line on closing candle in 5 minutes timeframe, everyday exactly at 12:05 minutes with server time 

and then store the price at some variable because i need two more line 

first +100 pips and second -100 pips, I need these horizontal line base on my prime line at 12:05 

is there anybody to help me through this?

I will appreciate if anyone write this code.

 

Help you with what? You haven't stated a problem, you stated a want.
     How To Ask Questions The Smart Way. (2004)
          Prune pointless queries.

You have only four choices:

  1. Search for it (CodeBase or Market). Do you expect us to do your research for you?

  2. Try asking at:

  3. MT4: Learn to code it.
    MT5: Begin learning to code it.

    If you don't learn MQL4/5, there is no common language for us to communicate. If we tell you what you need, you can't code it. If we give you the code, you don't know how to integrate it into your code.

  4. Or pay (Freelance) someone to code it. Top of every page is the link Freelance.
              Hiring to write script - General - MQL5 programming forum (2019)

We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using CODE button) and state the nature of your problem.
          No free help (2017)

 
karensarmaye:

hi guys 

I am struggling with mql5 

I need some code to draw horizontal line on closing candle in 5 minutes timeframe, everyday exactly at 12:05 minutes with server time 

and then store the price at some variable because i need two more line 

first +100 pips and second -100 pips, I need these horizontal line base on my prime line at 12:05 

is there anybody to help me through this?

I will appreciate if anyone write this code.

i am going to help you with code examples

1. From this code you will learn how to use Time to do some event

2. From this code you will learn how to draw Horizontal Line

3. to store value of horizontal line you drawn, use this

4. Horizontal line do not support right or left ray

Candle Closing Time Notify Alarm
Candle Closing Time Notify Alarm
  • www.mql5.com
Notifies you at your specified Chart Time Indicator can be used to set alarm at a specified time on the chart.
Reason: