fxDreema

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

    Store a Value for further calculations

    Questions & Answers
    4
    20
    717
    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
      Mani13 last edited by

      Hello Experts,
      I want to store a value.

      For example we have no trade.
      As soon we activate the bot, I want to store the value of difference of Ask price and Bid price (Spread) at that moment. further I have to do a calculation with that fix stored value.

      Please suggest how to do this

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @Mani13 last edited by

        @Mani13 You can use a variable to store that. Like this:

        01.png

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 1
        • M
          Mani13 last edited by Mani13

          @l-andorrà , Thanks you stepping in.

          Actually this is what I want to store but I am not able to get a fix value, it is keep on fluctuating.

          A fix value of difference open is needed to store when bot is activated

          Capture.PNG

          S 1 Reply Last reply Reply Quote 0
          • S
            sktsec @Mani13 last edited by

            @Mani13
            I am afraid the it is the spread you are talking about. It probably not a fix value and depends on the time you run this block.

            M 1 Reply Last reply Reply Quote 0
            • M
              Mani13 @sktsec last edited by

              @sktsec Yeah it is not a fix value, and this is the task which I am trying to do just to get a value when bot just activated or after closing the previous trade.

              1 Reply Last reply Reply Quote 0
              • l'andorrà
                l'andorrà last edited by

                Are those 'Pair_1' and 'Pair_2' of a string type? Otherwise it will not work.

                (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                M 1 Reply Last reply Reply Quote 0
                • M
                  Mani13 @l'andorrà last edited by Mani13

                  @l-andorrà Yes,
                  Infact i am getting the variable value perfectly. I just want any of a fix value of any moment when there is no trade open, for now it keep on changing as price fluctuates

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sktsec @Mani13 last edited by

                    @Mani13
                    If you mean to record the spread on every tick data, that seems to a big task. Better find a way to get the tick data history (with spread) from your broker

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Mani13 @sktsec last edited by

                      @sktsec That is not the spread actually, I want to record the difference between bid and ask price of 2 different pairs with similar decimal value.

                      I dont want to record every tick data. just need 1 numeric value of any time when there is no trade

                      1 Reply Last reply Reply Quote 0
                      • l'andorrà
                        l'andorrà last edited by

                        Isn't the difference between bid and ask price the definition of spread? 🙂

                        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          Mani13 @l'andorrà last edited by Mani13

                          @l-andorrà Actually it is bid of other pair and ask of another pair.
                          for example BID of USDCAD pair - ASK of GBPUSD pair.

                          BID 1.3710 - ASK 1.3590 = 0.0120

                          Need to store this value (0.0120) of their difference when no trade is there,

                          l'andorrà 1 Reply Last reply Reply Quote 0
                          • S
                            sktsec last edited by

                            That means you successfully got the value.

                            In case you aim at a particular value at a particular time, have you tried Block pass once ? Does it help ?

                            1 Reply Last reply Reply Quote 0
                            • l'andorrà
                              l'andorrà @Mani13 last edited by

                              @Mani13 This is the way to do that:

                              01.png

                              (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                              (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                              (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                              M 1 Reply Last reply Reply Quote 1
                              • D
                                delo5 last edited by

                                i love it !

                                1 Reply Last reply Reply Quote 0
                                • l'andorrà
                                  l'andorrà last edited by

                                  Thank you. 😉

                                  (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                                  (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                                  (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Mani13 @l'andorrà last edited by

                                    @l-andorrà This I done as you said but that value is keep in fluctuating, How can i fetch a fix value then ignore that variable

                                    1 Reply Last reply Reply Quote 0
                                    • l'andorrà
                                      l'andorrà last edited by

                                      The value will always be fluctuating because both price levels will be fluctuating too. When do you want to get a fixed value exactly?

                                      (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                                      (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                                      (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        Mani13 @l'andorrà last edited by

                                        @l-andorrà I need the value at any time when there is no trade, either at starting of the bot or after closing the previous trades.
                                        Actually I want that value for the reference for futher entry and exits

                                        1 Reply Last reply Reply Quote 0
                                        • l'andorrà
                                          l'andorrà last edited by

                                          But the value will change through time before a new trade is open. How can you know the value that was stored 1 hour ago is still valid now?

                                          (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                                          (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                                          (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            Mani13 @l'andorrà last edited by

                                            @l-andorrà Actually the trade will open according to that reference value that being stored. so it doesnt matter how old the value is

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

                                            Online Users

                                            B
                                            A
                                            J
                                            D
                                            E

                                            24
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors