please i am trying to create an ea that will draw two line starting from 22:00 GMT at night and to 02:00 GMT in  early hour of the next day, the upper line will be the highest   high  among the four 1hour candles and the second will be the lowest low of the same four candles

If someone helps you on this thread so it will be fine.
If not so you may need to consider to use Freelance service for example.


It is standard reply which I am posting on such the requests (because I am not a coder sorry) -

And this is my other suggestion (which came from tsd 2010 and from tsd 2008):

Coders (any coder) are coding for free -

  • if it is interesting for them personally, or
  • if it is interesting for many members of this forum.

and Freelance section of the forum should be used in most of the cases.

MT4 BronzeWarrior and SilverWarrior EAs
MT4 BronzeWarrior and SilverWarrior EAs
  • 2006.09.05
Attached are my conversions of the MT3 EAs...
tradegiant360: please i am trying to create

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. Beg 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.08.21

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.04.21