fxDreema

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

    Compilation error with Condition criteria

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

      Hi!
      I have created a condition that should pass OK when a specific candle closes not more than 2.5 pips away from a moving average....but it won't compile and I get the error "some operator expected".
      Please see https://prnt.sc/hn9jfb
      Can anyone tell me what I am doing wrong?
      Thank you!
      Lee.

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

        Does the number of pips need to be a whole number? i.e. 2 or 3 but not 2.5?
        Does there need to be a gap between 2.5 and pips?

        I don't know but that's a couple of things I would try.

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

          SydneyFox you are a genius! It was the decimal point. The space makes no difference - if the number is an integer - it compiles either way.

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • L
            leecourt @SydneyFox last edited by

            @sydneyfox Thanks for solving the problem 🙂

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

            Online Users

            S
            C
            M
            J

            11
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors