fxDreema

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

    Filter openning positions once one trade executed

    Questions & Answers
    2
    3
    353
    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.
    • S
      saeed 2 last edited by

      lets say im applying a 5m timeframes ... conditions met and one position openned (once per bar) ...

      question is >> when any trades opens, i dont want EA to execute any trades after three bars for example because condition may still active for the next bar after execution

      I tried (once per minute) but it filter whole cycle to open trade every specify minutes

      the last try is what shown at attached picture .. is it correct ?

      thanks for your time and assistance

      0_1614071945099_Screenshot 2021-02-23 130947.jpg

      bk7 1 Reply Last reply Reply Quote 0
      • bk7
        bk7 @saeed 2 last edited by bk7

        @saeed-2

        store the time once you open a trade and then check the difference as discussed here:

        https://fxdreema.com/forum/topic/11906/counting-bars-question

        S 1 Reply Last reply Reply Quote 0
        • S
          saeed 2 @bk7 last edited by

          @bk7 thanks for information .. it will help alot in future

          i tested the attached pic concept and works >> Every n bars (3) .. doesnt execute any trades unless (3) bars passed after the previous conditions occured

          thanks again

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          Online Users

          M
          M
          N
          G
          H
          S
          E

          25
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors