fxDreema

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

    Restricting EA from Taking Trades

    Questions & Answers
    2
    3
    825
    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
      Kordihosam last edited by

      Hi Guys i need some help i am trying to restrict my EA from taking trade on the below conditions but it not working in testing

      Check if there a trade on Sell trade on EURUSD and Sell Trade on GBPUSD at the same time if that the case do not take any trade.

      Check if there a trade on Buy trade on EURUSD and Buy Trade on GBPUSD at the same time if that the case do not take any trade.

      please see below what i have done.

      0_1522129746949_13b53784-1c26-464f-92ca-65eb6ef164f8-image.png

      Any help is appreciated

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

        Ok here's how the logic goes... I am using the numbers written on the left side of your logic blocks to save time. Put a new logic block " no trade" 14,16 all in parallel, then 1 then 3. That should work. now renumber your logic blocks so that the ones closest to the top of the page have a lower number than the ones lower down the page. Rinse and repeat for sell. Get rid of the "and" logic block it's not needed.

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

          Thank you very much that worked very well

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

          Online Users

          M
          M
          C

          10
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors