fxDreema

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

    How to set execution order

    Questions & Answers
    2
    4
    641
    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.
    • H
      holygrailfx last edited by

      What is the best way to assure that my closure routine is executed before my new trade routine?

      I prefer not to chain link them.

      Any suggestions?

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

        When blocks are not chained, then their numbers can be important. Blocks with lower numbers run first. But you should be able to see how things work in backtest.

        1 Reply Last reply Reply Quote 0
        • H
          holygrailfx last edited by

          Ok
          So I set block numbers manually
          So the toplevel block number of the part I wnat to run first is lower then the parts that comes after
          I imagine only the toplevel block is important, as everything chainlinked after will run automatically once the first toplevel runs, right?

          Thanks

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

            When a block runs and does what it has to do, it's output becomes active, which immediately causes the next block to run. This will continue until some block of the chain does not pass or the chain ends. Then other groups of blocks come.

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

            Online Users

            A
            L

            7
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors