fxDreema

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

    How to prevent basket trades be closed when in loss?

    Questions & Answers
    1
    2
    311
    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.
    • G
      go5 last edited by

      The problem only occurs when loading the ea on a chart with existing trades. Made with "check profit (unrealized)". Say, 3 open trades, 2 in loss ($200), 1 with $100 profit. If the Check profit condition is $95 all trades get closed despite having a total loss of $100.
      This scenario can happen after a crash...

      G 1 Reply Last reply Reply Quote 0
      • G
        go5 @go5 last edited by

        Forgot to mention, the ea is only looking at buys or sells seperately, with two "check profit" blocks.

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

        Online Users

        F
        E
        X
        A
        O
        M
        T

        15
        Online

        147.0k
        Users

        22.4k
        Topics

        122.6k
        Posts

        Powered by NodeBB Forums | Contributors