fxDreema

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

    want to set a timer— one, two, or three hours—so that it can activate stoped block again

    Questions & Answers
    3
    6
    248
    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.
    • merajmusic
      merajmusic last edited by

      Hello everyone! My question is how I can stop a block, for example, my buy/sell block, after it has hit the stop-loss twice in a row. I then want to set a timer— one, two, or three hours—so that it can activate again. How can I do that?

      1 Reply Last reply Reply Quote 0
      • X
        XUXXEXFUL21 last edited by

        1️⃣ Track SL Hits:

        • Use a Global or Custom Variable (e.g., SL_Hits) to count consecutive stop-loss hits.
        • Increment SL_Hits each time a trade is closed by stop-loss.

        2️⃣ Check Before Opening Trades:

        • In the Buy/Sell block, add a Condition block.
        • Only allow trades if SL_Hits < 2 (or your chosen threshold).

        3️⃣ Set a Timer:

        • When SL_Hits reaches the threshold:
          • Record the current time in a variable, e.g., SL_Lock_Start = TimeCurrent().
          • Block trades until the lock period expires:
          TimeCurrent() >= SL_Lock_Start + Lock_Period
          • Lock_Period = 1–3 hours in seconds (e.g., 1 hour = 3600 seconds).

        4️⃣ Reset After Timer:

        • Once the timer expires, reset SL_Hits = 0.
        • Trades are allowed again.

        ⚡ FXDreema Block Flow:

        • Trade closed by SL → increment SL_Hits
        • Condition Block → allow trades only if SL_Hits < 2 or lock period expired
        • Timer Logic → block trading for X hours
        • Reset SL_Hits after lock period
        1 Reply Last reply Reply Quote 0
        • merajmusic
          merajmusic last edited by

          Thank you For Answer

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

            @merajmusic You can also do it this way (for buys only):

            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
            • merajmusic
              merajmusic last edited by

              Thanks for your help. I'll try it🥰

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

                You're welcome.

                (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

                P
                T
                I
                B
                A
                H
                E

                17
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors