fxDreema

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

    Best Practice Formulas

    Questions & Answers
    2
    7
    1753
    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.
    • M
      mfuetterer last edited by

      Hi,

      I'm pretty new with fxDreema and so far love it.
      Yesterday, I wanted to dive in a bit deeper and struggeled with formulas.

      Let's say I want to define a Variable:
      Pivot = (Last Candles High + Last Candles Low + Last Candles Close) / 3

      How am I supposed to do that in a proper way?
      The only thing I found was:

      a. Custom Code
      b. Do two calculation at one step and combine multiple formulas

      As for b. it is not easy to do more and more complex formulas (and understand them a week after)

      Did I miss something?

      Thanks
      Mic

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

        To add:

        Something like the attached screenshot seems not to work.
        None of the values are filled. All are still and remain 0.

        ......
        2016-10-21 09_49_22-Forex Pivot.png

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

          Learning curve is steeper as expected.
          I set the variables:
          2016-10-21 13_54_18-Forex Pivot.png

          But they are running to infinity ...
          2016-10-21 13_53_44-Wetter.png

          The reference, directly added candle values in the comment box, is ok.
          (showing yesterdays open low and high)

          ......
          2016-10-21 13_53_44-Wetter.png
          2016-10-21 13_54_18-Forex Pivot.png

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

            Nooo, look at the white and orange circles on the left side of each input field in the "Variables" panel. If you put this calculation in the left (white) field, it will happen BEFORE the block does its job. That white circle represents the input of the block (which is also white) => the calculation happen in the input, when the block is called. Put the formula on the orange field and then the formula will run AFTER the block does its job, which is to set values to the variables.

            mfuetterer, I also see another problem in your screenshot. You have put Variables in the Adjust fields. The result is like this:

            Candle_Close = Candle's Close %(#FF0000)[+ Candle_Close]

            This %(#FF0000)[+ Candle_Close] is the extra thing added because of the Adjust field. As you might expect, every time you run this block, the value of Candle_Close will increment more and more, because you are actually adding Candle's Close to its value.

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

              Anyway, why don't you try this: http://prntscr.com/cxkx0a Well, set the timeframe to daily as well.

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

                __Anyway, why don't you try this: http://prntscr.com/cxkx0a Well, set the timeframe to daily as well.[/quote:bw2psa22]

                Because I wasn't aware of it 😉
                So much to discover.

                Thanks a lot for make the variable point clear.
                Now I understand.

                Just want to say, that you've done a brilliant work.
                Is it still getting new features?

                The most two thing I miss are:

                1. Undo
                2. Keyboard shortcuts (at least for copy and paste and delete)

                Mic

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

                  1. Click on this History link on the right side
                  2. Delete is a good idea, but if you ask me, I don't believe that Copy/Paste is a good idea. I mean, I know some users that have giant projects with 700+ blocks, and most of these blocks are copy/paste groups of blocks, which is bad practice 🙂

                  In few days I will upload NodeJS version of fxDreema, because I decided to use this platform and I rewrote the whole thing + I changed the database as well. The forum will be NodeBB, which is the only forum I can find for NodeJS 🙂 New features... I don't know, even now people don't understand everything. Maybe it's better to make everything easier to work. Also, I think I have to write descriptions for most options in the blocks. I will also probably do some MQL4/5 code optimizator, because the generated output code needs to be cleared from unnecessary stuff.

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

                  Online Users

                  M
                  M

                  19
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors