fxDreema

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

    Simple Condition. Is there a bug? Or did i missed anything?

    Questions & Answers
    5
    24
    2424
    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.
    • B
      biztet last edited by

      @roar Let's test it on 04/01/2021, XAUUSD, H1

      0_1611770942708_Untitled-8-01.png

      1 Reply Last reply Reply Quote 0
      • B
        biztet last edited by biztet

        I didn't get it. What makes it a problem in the logic?
        For closing trade, it should happen only once after the candle close.
        Not every time as when the indicator below 0 level.

        roar 1 Reply Last reply Reply Quote 0
        • roar
          roar @biztet last edited by

          @biztet said

          For closing trade, it should happen only once after the candle close.

          No, it happens on every tick, it just reads the value from last candle. Put a "once per candle" filter there, that should help

          Need small help? Tag me in your post
          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

          1 Reply Last reply Reply Quote 1
          • B
            biztet last edited by

            You're right @roar . That really solved the problem. Thank you so much.

            0_1611771418843_Untitled-8-01.png

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

            Online Users

            S
            G
            E
            P
            G
            R
            N
            S
            E
            E
            M
            O
            B
            M
            Z

            36
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors