fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. mikemindel
    3. Posts
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by mikemindel

    • Apply Template

      Am having the same issue. Have followed instructions above and "apply template" definitely doesn't work as you describe. Could you double check? Thx

      Note: for those struggling with this, rename your template to tester.tpl in MT4 template folder and then the tester will load the template before running the EA.

      posted in Questions & Answers
      M
      mikemindel
    • RE: Last tick of the day?

      The simplest solution I can think of is a way to look "ahead" and see what the data for the next tick will be. That's why I mentioned using -1 for the candle to mean look forwards to the next candle in the future.

      posted in Questions & Answers
      M
      mikemindel
    • RE: Last tick of the day?

      Or at least is there a way to say we are now at the end of the day, the last tick/candle of the current day?

      posted in Questions & Answers
      M
      mikemindel
    • RE: Last tick of the day?

      Thanks, however it doesn't solve my exact issue.

      What is happening is that there is a task at 8pm to close all the trades. However the ticks do not get to 8pm, they stop at 6pm (not enough data available for that date). And then the next tick is 7am in the morning. So all the trades end up continuing into the next day. They do not get closed at 8pm because there is no tick data to get to 8pm.

      So how do I detect at 6pm (when the data runs out) that the NEXT tick will be at 7am so I can close my trades out at 6pm? Does that make sense?

      -Mike

      posted in Questions & Answers
      M
      mikemindel
    • Last tick of the day?

      Thanks for fxDreema. Really enjoying using it.

      Q: How do I detect the last tick of the day so I can close out all my trades?

      Reason I'm asking is that I'm trading during specific hours e.g. 7am - 8pm. However, using Tick Data Manager I'm finding some of the historical tick data ends at 5pm/6pm. And so the EA ends up rolling over into the following morning at 7am.

      I thought maybe using a Candle ID of -1 to detect the time of the next tick and compare the time with the previous tick might do it. Then I can close out all the trades on the current tick, which would be the last tick of the day.

      Please let me know if it's possible. Thx.

      posted in Questions & Answers
      M
      mikemindel
    • 1 / 1