fxDreema

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

    Adding multiple formula results together easily

    Questions & Answers
    2
    5
    1272
    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.
    • C
      camhawk last edited by

      Hi,

      Is there an easy way to add multiple formula results together easily, e.g. 1 + 1 + 1 + 1?

      Currently the only way I can think to do this is to do the first formula and they carry the result over to the second and so on. But this doesn't really work with what I'm trying to do.

      Cheers

      Cam

      Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

      I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

      To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

        You can do math in all input fields in all blocks. "Formula" block is used when you want to get some value from the available toolset in fxDreema, but you can always go deeper and work with pure MQL4/MQL5 code everywhere

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

          Thanks, I'll take this new approach and see if it fits what I'm trying to do.

          Cheers

          Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

          I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

          To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

            Hi again, I can't seem to get over this hurdle.

            It may help if you view the project first: just check out the one called "Candy EA v1.1" and the Area called "Buy Trade Entry - Different Patterns".

            Here's what I'm trying to do:

            • Enter a buy trade after the following has happened:
            1. within the last X (PatternsBarsBack) bars X (NumberOfPatterns) number of candlestick patterns have been formed (I'm currently working with 3 patterns but will add several more when I have sorted this out)

            At the moment I'm trying to count the patterns within the last X bars and then when the count number matches the Constant Input "NumberOfPatterns" it places a buy trade.

            Is this enough information for you to check to see where I'm going wrong? I've tried Counter, Formula and Modify Varialbes blocks and keep going round in circles.

            Any help much appreciated.

            Cheers

            Cam

            Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

            I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

            To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

              No worries, I worked it out using Mod Variables and Values in the end... taxing on the brain!! 😄

              Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

              I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

              To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

              Online Users

              O
              D
              F
              K
              C
              E
              M
              F
              T

              18
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors