fxDreema

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

    Can't find the mistake!

    Questions & Answers
    2
    4
    344
    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
      SirLuk last edited by

      Could someone please tell me where I made the mistake?

      This works fine: https://fxdreema.com/shared/wxZ7dFgid

      In this one, which is basically the same, I get an error "SL_distance - struct member undefined": https://fxdreema.com/shared/XS3Gkwbpd

      You can ignore the "on tick" part. This works, I also deleted that whole part and still the EA shows the error.

      Why am I getting an error?

      A 1 Reply Last reply Reply Quote 0
      • A
        ambrogio @SirLuk last edited by

        @sirluk you forgot around this variable đŸ™‚

        0_1648896160015_sgabello1.PNG

        1 Reply Last reply Reply Quote 0
        • S
          SirLuk last edited by

          Holy crap...that's so weird! đŸ™‚ Since I changed the stop loss mode to custom price level, I totally didn't think about the possibility that I still had a variable in the "fixed pips" mode!

          Thanks @ambrogio for helping me out.

          A 1 Reply Last reply Reply Quote 0
          • A
            ambrogio @SirLuk last edited by

            @sirluk you're welcome!

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

            Online Users

            M
            S
            T
            O
            G
            B
            A
            P
            I
            M
            M
            J
            T
            S
            T
            M

            29
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors