fxDreema

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

    Wish list - point format

    Questions & Answers
    3
    7
    1529
    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

      My broker uses different point formats for differing markets:

      *Indices - 0.01
      Forex - 0.00001
      Futures - 0.01[/list:u:2nfuc84p]

      Is there any way currently of making fxdreema pick this up automatically? If not, could this become a feature? Maybe a new block?

      The reason I ask, is that I've missed this on more than one occasion and caused myself extra work! 🙂

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

        Options -> Current project options -> Point format

        fxDreema picks this automatically, but there are differences between brokers when it comes to instruments other than currencies. This option is for currency pairs basically, but you can test it.

        This is the function that makes those simple calculations: http://fxdreema.com/documentation/colle ... 4/pipvalue
        POINT_FORMAT is a global constant, it is what comes from "Point format" option

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

          Hi, and thanks for the reply.

          I'd like to apologise in advance as I'm a little confused, and may be missing the completely obvious!

          I'm conversant with the "Options -> Current project options -> Point format" method of changing the point format. But what I'd like to be able to do is use one EA over several market types with different point formats. At the moment I need three EAs to do this, and this makes things a little unwieldy.

          You kindly told me that function that makes the calculation is at http://fxdreema.com/documentation/collection of functions for mql4/pipvalue.

          What I'd like to do is have a block, or piece of code to put into a "Custom MQL4 code" block, which works in the similar way to the "Set Current Market for next blocks" block. That is to say, the block says this; "let me check the point format for the market this EA is currently working on - ok its 0.01 - so for this EA we'll work in this point format". In this way I'd only need one copy of the EA to run on the three market types with different point formats.

          Can I do that now? How?

          Thanks so much, again. 🙂

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

            Now there is a single #define constant named POINT_FORMAT for the whole EA, not for certain markets. The function above makes the difference between different market types, but it can be incorrect for non-currency markets. Everything is fine with EURUSD, USDJPY and so on... Which market uses wrong point format now?

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

              This is the point format which my broker uses:

              *Indices - 0.01
              Forex - 0.00001
              Futures - 0.01[/list:u:6rqa7lhw]

              So it would be helpful if I didn't have to redefine each in Options -> Current project options -> Point format.

              Fxdreema currently can set a market or timeframe using a block. I just wondered if something similar to this could be created for Point Format.

              1 Reply Last reply Reply Quote 0
              • T
                Trader3487 last edited by

                James, I think this might be what you are looking for: post/4948

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

                  Yes, I added this new functionality, but it is for the web version at the moment. I will make new local build when bugs from the last update disappear 😕 They are almost gone.

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

                  Online Users

                  A
                  M
                  W
                  E
                  G
                  K
                  E
                  A
                  S
                  O
                  S
                  A
                  N
                  J

                  22
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors