fxDreema

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

    How do I store the last BUY or SELL that occurred in a variable?

    Questions & Answers
    3
    12
    1123
    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.
    • khalids222
      khalids222 last edited by

      How do I store the last BUY or SELL that occurred in a variable?

      khalids222 1 Reply Last reply Reply Quote -1
      • khalids222
        khalids222 @khalids222 last edited by

        @khalids222 0_1599148746475_last.jpg
        How can I determine a fixed point on the chart? Or determine the last sell or buy made? And put it in a variable? Or just select it

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

          @khalids222 Do you mean you need the value of the open price of the last trade? Or the close price?

          (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.

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

            @l-andorrà
            open price.
            The value of the recent open buy or sell

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

              @khalids222 Then try this:

              0_1599150088139_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.

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

                @l-andorrà Thank you. We missed you, our return for your presence and your responses.
                we Hope you had a happy vacation

                I'm sharing the project, here
                Also notice in the picture the condition is very simple
                if CLOSE(0)> CLOSE (1) = BUY
                CLOSE(0)< CLOSE (1) = SELL

                The last transaction that is done according to these conditions, whether buying or selling, is the dividing line for the next process

                0_1599219129090_sss.jpg
                https://fxdreema.com/shared/hHBAfGewd

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

                  perhaps because you are using candle ID 0 under the condition of the IF Trade block?

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

                    @khalids222 Both 'For each trade' blocks have an ID number lower than both 'If trade' blocks. This means those variables will never catch the open price AFTER the trade is open. They should have hight ID numbers than both 'if trade' blocks.

                    (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.

                    TipsyWisdom khalids222 2 Replies Last reply Reply Quote 0
                    • TipsyWisdom
                      TipsyWisdom @l'andorrà last edited by

                      @l-andorrà said in How do I store the last BUY or SELL that occurred in a variable?:

                      @khalids222 Both 'For each trade' blocks have an ID number lower than both 'If trade' blocks. This means those variables will never catch the open price AFTER the trade is open. They should have hight ID numbers than both 'if trade' blocks.

                      oh damn, thank you!! That helped me with another EA of mine.

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

                        @l-andorrà Thank you, I'll try changing the id number to up

                        1 Reply Last reply Reply Quote 0
                        • khalids222
                          khalids222 @TipsyWisdom last edited by

                          @jsauter86 Thank you, but this is not the reason

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

                            In that case I recommend you to dissect your project into smaller parts and check them one by one to work correctly. Then reconnect them again step by step until you find the reason.

                            (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
                            • 1 / 1
                            • First post
                              Last post

                            Online Users

                            V
                            C
                            K
                            A
                            D

                            19
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors