fxDreema

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

    FxDreema as an indicator?

    Questions & Answers
    5
    9
    3089
    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.
    • T
      trading71 last edited by

      Hi, i'm looking for the same thing, is there any update about formula that normalize to max 2 decimals?
      many thanks

      1 Reply Last reply Reply Quote 0
      • C
        coverman last edited by

        Would it be possible to use a code made in fxdreema as an indicator or is it possible to save it as an indicator?
        If I want to print out the numbers for Average True Range on the chart.

        If I want it to count this in pips so I know where to set my stop loss and take profit. An indicator that helps me trade live. One that show me the info on the charts instead of being a robot.

        Is this possible?
        There are so many chart display blocks. Not sure which ones to use for this.

        1 Reply Last reply Reply Quote 0
        • C
          coverman last edited by

          I think I am getting something that works now, but is there a way to make something show with max 2 decimals?
          If I want to print the LOTS to trade and don't want it to look like this: 0.17502
          Is there a way to remove the last ones and just print: 0.17

          Is there something in the formula that can be used to only show a number rounded to 2 decimals?

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

            https://www.mql5.com/en/docs/convert/normalizedouble
            https://www.mql5.com/en/docs/convert/doubletostring

            These are the native MQL4/5 functions that can round the number to certain decimals. In the blocks there is no other way to do this thing and I can't even guarantee that these functions would work. This part of MQL5/MQL5 is hard for me to explain and often even to work with.

            1 Reply Last reply Reply Quote 0
            • C
              coverman last edited by

              I made it in the code for at least one part. But it's boring to do it all the time when I test things, but I guess I can wait until everything is working and then do the fine tuning when I'm done.

              But it would've been nice with a little code in the formula block to make it work... 😉

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

                Now that you are saying this, it sounds very logical to have such option in Formula 🙂

                O 1 Reply Last reply Reply Quote 0
                • O
                  Owenb @fxDreema last edited by

                  @fxDreema Did you ever add this function? Have a bunch of formulas and 13 decimals after them. The table results look pretty crazy. It is easy coding by line to do it. Do I need to go through each calculation and add the code to do this or can I do it on the FxDreema platform?

                  1 Reply Last reply Reply Quote 0
                  • M
                    mohammad2232 last edited by

                    Is it possible that only change onchartevent with oncalculate for use EA as an indicator ?
                    i do this and that seem work properly But I do not know if it will be bug in the future!
                    Thanks

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

                      These long numbers again... No, I didn't added this to Formula, obviously.

                      https://www.mql5.com/en/docs/basis/function/events - "The OnCalculate() function is called only in custom indicators"

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

                      Online Users

                      D
                      V
                      O
                      J
                      B

                      12
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors