fxDreema

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

    Check for two bull candles in a row after opening sell trade

    Questions & Answers
    3
    7
    891
    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.
    • K
      kizerage212 last edited by

      I'm having trouble getting this to work. So I enter a sell trade at the open of a candle. Then two candles later at open, I want it to look back and see if there are two bull candles. If there are, the trade will be closed. If there are not, then the sell will continue (but it will not keep checking for bulls candles anymore for the trade). If there aren't two bulls candles on the first two candles I want the sell trade to remain for the life of the trade (and it will be closed on indicator reversal). I have if trade (for sells) set up and then I tried every nth bars (set to 2 bars) but it seems to ignore that and pass immediately into the next candle, Rather than two candles away.

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

        Try these blocks in order:
        If Trade
        Condition ( Candle ID 2 < Candle ID 1)
        Close Trade

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

          @jsauter86 Can you please share your project?

          (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
          • K
            kizerage212 @TipsyWisdom last edited by

            @jsauter86 I don't understand what Condition (Candle ID 2 < Candle ID 1) would do. It needs to check for two bull candles in a row right after a sell. So sell is opened on at start of a bar. Then not the next candle bar but the open of the one after that it checks last two candles to see if, bullish and then closes trade if they are. And if it is NOT bullish then the trade stays open until reversal from indicator so it can only pass through here once after first two green candles.

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

              @kizerage212 said in Check for two bull candles in a row after opening sell trade:

              @jsauter86 I don't understand what Condition (Candle ID 2 < Candle ID 1) would do. It needs to check for two bull candles in a row right after a sell. So sell is opened on at start of a bar. Then not the next candle bar but the open of the one after that it checks last two candles to see if, bullish and then closes trade if they are. And if it is NOT bullish then the trade stays open until reversal from indicator so it can only pass through here once after first two green candles.

              can you share your current project?

              1 Reply Last reply Reply Quote 0
              • K
                kizerage212 last edited by

                Oh nevermind, I used the modify variable block and created a variable called counter. I then just had it count+1 until it reached 2 and a condition to pass once it equals 2 starting at zero to check the bulls in a row two candles past. So far it works. Thanks

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

                  @kizerage212 Good for 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
                  • 1 / 1
                  • First post
                    Last post

                  Online Users

                  K
                  M
                  B
                  A
                  C
                  A

                  15
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors