fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    MA Cross and Daily Count

    Questions & Answers
    3
    3
    602
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      davids9317 last edited by

      Hey all,
      Can someone help me with this, i have a fxdreema EA which takes a trade at the end of every day, I'd like to prevent the trades from being executed for say 4 days after the cross of an EMA then resume as normal until the next cross, any ideas?

      Please see my existing project attached.

      Thanks,

      Dave.

      ......
      daily close 10 100 sell 1 lot.ex4
      daily close 10 100 sell 1 lot.mq4

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Here is some idea: https://fxdreema.com/shared/oKWBYjWlb

        I used a variable where I can store the value of time after which I will be allowed to do something (like drawing a vertical line). The value of this variable is checked on every tick and when the current time is >= from that value, the Condition pass. In Modify Variables I set the variable with a value that represents the current time + 4 days in the future.

        1 Reply Last reply Reply Quote 0
        • E
          edwardseer last edited by

          you can do it this way too 🙂
          theres quite a number of ways to do it with fxdreema

          ......
          MACD.xml

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          M
          M
          E
          M
          A
          H
          E
          E
          M
          S

          14
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors