fxDreema

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

    Formula Result

    Questions & Answers
    2
    9
    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.
    • J
      joseph last edited by

      ID Mt4-1889

      How to show the result of Block 3 so that every time the price changes it shows the new result.

      Please help.

      Thanks

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

        I guess it's ID 1880. After block 3 you can place "Comment on chart" and put it there... if this is what you ask for.

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

          Sorry. It is 1880. It only shows 'Comment Message' but not the value. The value will always be between 0 and 1 (both inclusive).

          I am new to this. Please help.
          Thanks

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

            Aaaah, click on some of the rows below - Data row 1, Data row 2... Maybe I have to add small "+" to these 🙂
            And then write something as label, for example under Data row 1 write some text in Label 1 field.

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

              I think I am doing something wrong. The result of Formula (block 3 result which has a value between 0 and 1) is not showing any where. I am not looking for the comment, I am looking for the result of the formula which changes with every tick. For example, if bar high is 98.80, the bar low is 98.20 and the current price is 98.50 then the formula result would be 0.5 ((Current price minus candle low) / (candle high minus candle low), As the price changes with every tick, formula result will change accordingly. I am looking for this result to show.

              I am very new to this.
              Please help me and if possible please make changes in the EA

              Thanks

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

                Then I don't know the meaning of word "show" - what do you expect really? Because what "Formula" block do is to make a simple math calculation and write the result in a global variable, and this global variable itself exists in form of bytes somewhere in your RAM memory, so what do you want to do with it? Where do you want to see it?

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

                  Can the result from the from the formula block be shown on the chart? If so, can you please tell me how to do it.

                  Thanks

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

                    In your "Comment on chart", put something in "Label 1" field. Without label name there is no output.

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

                      It is working. Thank you very much

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

                      Online Users

                      S
                      E
                      T
                      M
                      E
                      X

                      8
                      Online

                      146.8k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors