fxDreema

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

    Block IDs?

    Questions & Answers
    3
    3
    1474
    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.
    • S
      SydneyFox last edited by

      My current EA has about 600 blocks. The latest Block ID is 237246.

      Why is the ID so large? Does it matter? Does it slow down the EA either in live, demo, testing or compiling?

      I tried to Normalize IDs but I have a number of Comment blocks that I delete and to delete the correct one it uses the Block ID, so when I Normalize IDs all of these delete comment blocks are now pointing to an ID that doesn't exist.

      What if anything do I need to do?

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        you can rename IDs to lower numbers, begin from 10 or so ...
        when you add new block, it will have ID greater than current highest ID

        Between trading and gambling is a very small gap, be careful.

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

          I know for sure that there was a bug that caused these big numbers and few months ago I fixed it... or at least I believe so. But who knows, maybe there is another bug or I didn't fully fixed it.

          Otherwise block numbers doesn't matter much. If you want to use the number of particular block in let's say "Turn ON blocks", then mu suggestion is to give that block a custom number that is not a number. Yes, block numbers can contain letters, so you can have block numbers such as a or b or MyBlock1 or something that means something in the strategy, but better don't use fancy symbols. I think I have a report that in some situation empty space causes a problem, so use _ instead of empty space for now.

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

          Online Users

          C
          F
          S
          R
          M
          U
          C

          15
          Online

          146.8k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors