fxDreema

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

    If choosing weekday filter, does that mean my operation only go once a day?

    Questions & Answers
    2
    6
    614
    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.
    • L
      len 1 last edited by

      What about loops? What about if position? I am trying to understand the frequency because being in a trade at 1201 am to make 30 pips and have it go backwards against me and then find out the calculation begins at midnight again the next day, isn't good. I am trying to find an answer about time frames and whether it means execution of trades happens according to that or whether it some other way. Please advise, anyone. Thanks I appreciate your help and insight.

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

        Your EA runs the code on every new tick (OnTick), over and over again thousands of times every day. Filters just cut the process if the time isn't right.

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        1 Reply Last reply Reply Quote 0
        • L
          len 1 last edited by

          So putting this on an hourly is really no different between putting this on a daily because a tick is a tick? No?

          roar 1 Reply Last reply Reply Quote 0
          • roar
            roar @len 1 last edited by

            @len-1 correct

            Need small help? Tag me in your post
            Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

            1 Reply Last reply Reply Quote 0
            • L
              len 1 last edited by

              yet, if I put this on once a minute, does that even matter ordo any of those time filters matter. I am trying not to have my loop unnecessarily loop, but it is outside of my local function. I don't know if I can put a constraint on my loop by having the loop just check every minute, and on ontick, I don't know how that is doable.
              Ultimately, I am testing stuff out and it takes forever, so I am trying to minimize process.

              roar 1 Reply Last reply Reply Quote 0
              • roar
                roar @len 1 last edited by roar

                @len-1 if you put "once per bar" block on top of your logic tree, the blocks below that block will run at the first tick of each new candle on your chart, but they will not run on 2nd, 3rd, 4th... ticks, until a new candle appears.

                Need small help? Tag me in your post
                Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

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

                Online Users

                O
                J
                B

                21
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors