fxDreema

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

    Price X Indicator

    Questions & Answers
    2
    6
    1743
    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.
    • 7434be
      7434be last edited by

      I am using the Price X Indicator and I see it calculates after the candle close. Is there a way to initiate the Buy Now the exact instance that the price crosses the MA ? The close is a little late maybe. Any help would be appreciated.

      7434be 2 Replies Last reply Reply Quote 0
      • 7434be
        7434be @7434be last edited by

        @roar Do you know how I would do this?

        1 Reply Last reply Reply Quote 0
        • 7434be
          7434be @7434be last edited by

          @fxDreema Could you shed some light on this please?

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

            @7434be
            Well, all candles have only 4 points: open, high, low, and close.
            Close doesn't necessarily mean history, it is also the most current reading.

            In fxdreema we control the time aspect with candle ID.
            ID 0 = the current candle, that is constantly changing
            ID 1 = the first completed candle
            ID 2 = the second completed candle
            etc

            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

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

              @roar So if I read you correctly you are saying that the Price X Indicator passes the block "immediately" as it crosses the MA. Or you are saying I would need a Candle block with ID 0 for the program to recognize the crossing of the MA "immediately as it happens.

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

                @7434be
                Correct, the block passes immediately.
                ID 0 is set by default. It may work in your project as is, but if you start seeing some weird trades, try setting ID 1.

                There are many topics in this forum regarding the ID setting, use the search for that 😉

                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 0
                • 1 / 1
                • First post
                  Last post

                Online Users

                T
                P
                C
                S
                T
                I
                B
                A

                17
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors