How to set a different opening time...
Results 1 to 7 of 37

Thread: How to set a different opening time...

  1. #1
    Might it be possible to set the beginning of the day at a time that is different than the beginning of a new daily candle.

  2. #2
    No, that is decided by the broker and can't be altered within mt4

  3. #3
    But can an EA use Another open time Compared to one the roker use
    Quote Originally Posted by ;
    no, That's set by the broker and cannot be changed within mt4

  4. #4
    Right, but if you code the EA to use a daily chart, you are stuck with the broker's daily open time.

  5. #5
    Can you show me what the code would look like to use a different opening time!!!
    Quote Originally Posted by ;
    Right, but if you code the EA to use a daily chart, you're stuck with all the broker's daily open moment.

  6. #6
    I will attempt to match this code and make it work. This way I slowly learn how make EA

    Due
    Quote Originally Posted by ;
    datetime starttime = StrToTime(00:00);

    if(iTime(NULL, 0, 0) == starttime)
    Printing(Hello);

  7. #7
    Datetime starttime = StrToTime(00:00);

    if(iTime(NULL, 0, 0) == starttime)
    Print(Hello);

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.