fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. XUXXEXFUL21
    X
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    XUXXEXFUL21

    @XUXXEXFUL21

    0
    Reputation
    2
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    XUXXEXFUL21 Unfollow Follow

    Latest posts made by XUXXEXFUL21

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

      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
      posted in Questions & Answers
      X
      XUXXEXFUL21