fxDreema

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

    I want 2 indicators to confirm first before ordering

    Questions & Answers
    5
    12
    777
    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.
    • N
      NamiyrD last edited by

      I'm trying to make the EA wait until 2 orders are confirmed but it skips conditions 68 and 67 and places either a buy or sell order anyway.

      https://fxdreema.com/shared/AhkW3hajd

      1 Reply Last reply Reply Quote 0
      • I
        Ipod last edited by

        Your settings seem wrong, you are using within limits indicator and it only contains an upper value of 80, so anything below 80 will pass as true. If you had the lower value say 20 the RSI would need to be between value 20-80 and it would open a trade.
        What were you trying to achieve?

        image.png

        N 1 Reply Last reply Reply Quote 0
        • N
          NamiyrD @Ipod last edited by

          @Ipod I’m trying to make the ea place a buy order when RSI on M5 and M1 has already or has now crossed the 20 level line, sell order when RSI on M5 and M1 has already or has now crossed the 80 level line, place another buy order when the ask price is below the lowest buy order and RSI on ONLY M1 timeframe has already or has now crossed the 20 level line AGAIN, place another sell order when the bid price is above the highest sell order and RSI on ONLY M1 timeframe has already or has now crossed the 80 level line AGAIN, close all buy orders when RSI on ONLY M5 time frame has already or has now crossed 80 level line, and close all sell orders when RSI on ONLY M5 time frame has already or has now crossed 20 level line.

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

            @NamiyrD You will need variables to control that. Now you are requesting all conditions to be true at the exact same moment. You need variables controlling when one condition is active when another one already happened.

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

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

              @l-andorrà how do I use variable to make the ea buy or sell per each crossing of one of the levels of RSI?

              SATI Autotrading Institute l'andorrà 2 Replies Last reply Reply Quote 0
              • SATI Autotrading Institute
                SATI Autotrading Institute @NamiyrD last edited by

                @NamiyrD Hello, just use the condition block the yellow one and select the RSI indicator in one side and in the another one select >x if you want a upper cross or select <x if you want a bearish cross.

                Te brindamos una formación competitiva para que puedas desempeñarte en tu carrera como trader algorítmico, o para que puedas desempeñarte como developer de EAs en cualquier bolsa freelance.

                N 1 Reply Last reply Reply Quote 0
                • N
                  NamiyrD @SATI Autotrading Institute last edited by

                  @SATI-Autotrading-Institute https://fxdreema.com/shared/XFbfF9nUc

                  The problem is that when I added in crosses above and below into the sell and buy below “if trade” order, the ea spams orders. And even if I add “crosses above”, then crosses below for buy, it doesn’t place any orders

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

                    @NamiyrD You need to create two separate structures. The first one will be checking when a crossing happens. As soon as it happens, a bool variable will be 'true'. Then in the second structure you search for the RSI condition to be true, but with a condition block on top of it requiring the bool variable to be true.

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

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

                      @l-andorrà what should that look like? can you give me an example?

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

                        Is this single entry? If not, i think you should use Once per bar block.

                        1 Reply Last reply Reply Quote 0
                        • I
                          Ipod last edited by

                          Try something like this, hope it helps. I have not tested it but this is roughly how I would build a grid system.

                          unnamed.mq4

                          image.png

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

                            @NamiyrD It should look like your current structure, but with those variables I suggested being included.

                            (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

                            S
                            K
                            S
                            G
                            B
                            F

                            18
                            Online

                            146.6k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors