fxDreema

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

    "AND"

    Questions & Answers
    2
    5
    1447
    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.
    • J
      james last edited by

      I'm having a problem with "AND".

      I have a trades loop like this one: http://fxdreema.com/shared/JvY0VGFid.

      However, when I try running it I always get this error:
      __2013.05.24 23:42:02 2011.01.03 00:39 omg5 EURUSD,M1: stack overflow[/quote:1ci0zawb]

      Any thoughts as to what could be wrong?

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

        It's beter to connect blocks one after another. Otherwise I don't receive this error. It appears only when AND block is added?

        1 Reply Last reply Reply Quote 0
        • J
          james last edited by

          No. I get the error if I join the condition blocks one after the other too. In this example http://fxdreema.com/shared/RyRtkIJ8, both Area #1 and Area #2 would produce the stack overflow error.

          1 Reply Last reply Reply Quote 0
          • J
            james last edited by

            I have laboriously re-entered block by block (no copy/paste) my EA into a new file. I now don't get the "stack overflow" error using "AND".

            I edited and re-edited the old file many times. So often I can't even guess! I'm wondering if some corruption may have occurred. What do you think? How can this be avoided? 🙂

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

              I doubled stack size for the web version. This is a simple MQL code at the top of the file that looks like this:

              #property stacksize 2097152

              It is measured in bytes. To be honest, I don't know what it means, how it works and how big it should be 🙂

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

              Online Users

              A
              S
              E
              H
              E

              16
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors