fxDreema

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

    Separating Trades into different groups with their own closing rules

    Questions & Answers
    1
    2
    1407
    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.
    • C
      Cgammons01 last edited by

      Hello.... I'm working on an EA that has a few different ways it places trades. One module places scalping trades with a trailing stop and the other places longer swing trades when certain conditions are met. My problem comes when I'm creating my trade closing rules. I want a separate set of closing rules for my scalping trades and a separate set of closing rules for my longer swing trades. Is there a way I'm not seeing that I can ID these trades so my closing rules don't apply to EVERY trade taken by this EA but just to the ones of a particular module?

      1 Reply Last reply Reply Quote 0
      • C
        Cgammons01 last edited by

        Might have figured this out.... Under the Buy/Sell Blocks I am able to use the Group # parameter and when closing trades, I can use the If Trade block and reference the Group # there right?

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

        Online Users

        B
        S
        H
        A
        A
        F
        E
        A

        19
        Online

        146.7k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors