fxDreema

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

    How to write a formula on Fxdreema

    Questions & Answers
    3
    6
    4456
    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.
    • A
      ali1 last edited by

      Hi I am new to to FxDreema and also doing this EA building first time. I have a question if some body help me with he answer I really appreciate:

      How to write this formula on Fxdreema :{(0.5/100) x (Previous Candle High– Previous Candle Low)} + Current Candle Open

      and " Current Candle Open - {(0.5/100) x (Previous Candle High– Previous Candle Low)}"

      Andermaiden2nd 1 Reply Last reply Reply Quote 0
      • Andermaiden2nd
        Andermaiden2nd @ali1 last edited by

        @ali1 for "Candle High– Candle Low" you can pick it from "candle/candle total size (pips)" and if you want it for last candle just set candle ID to 1. Here it goes a visual example as to how the formula block should look.
        0_1507844852464_formula.jpg

        A 1 Reply Last reply Reply Quote 0
        • A
          ali1 last edited by

          Thank you for your help , I going to try this now and will be in touch.

          1 Reply Last reply Reply Quote 0
          • A
            ali1 @Andermaiden2nd last edited by

            Hi @Andermaiden2nd
            Thank you for your kind help, now If you don't mind to answer two things for me

            • What is variable and why the formula function is asking me "you must update variable"? when I press "update"

            • With your help I manage to do : {(0.5/100) x (Previous Candle High– Previous Candle Low)}

            But where and how I put: + Current Candle Open

            to get the final result of the equation because I want to do

            {(0.5/100) x (Previous Candle High– Previous Candle Low)}+ Current Candle Open

            Andermaiden2nd 1 Reply Last reply Reply Quote 0
            • Andermaiden2nd
              Andermaiden2nd @ali1 last edited by Andermaiden2nd

              @ali1 You might find useful to check the examples to get started https://fxdreema.com/examples#Constants-and Variables
              Now for the sake of this case, constants are inputs that are unchangable to the program while variables are changable inputs the program can manipulate (this is the kind of input with which you will manipulate data inside any program).
              0_1507907783373_formula.jpg

              Edit: I forgot to change on the right side too the mutiplier which should also go in the adjust field below (where it says "Adjust the result (optional):" just above the variable field) instead of the one above in the area marked in red.

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

                Another more direct way:
                https://fxdreema.com/shared/L2IDgoGJd
                http://prntscr.com/gx0o8d

                ... which makes me think that he can probably work with the Typical or Median price that can be found somewhere in Condition -> Candle

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

                Online Users

                B
                T
                P
                C
                S
                T
                I
                B
                A

                19
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors