fxDreema

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

    Close all trades except latest two

    Questions & Answers
    3
    4
    859
    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
      Skollie last edited by

      If I have a number of buy trades open (say 5). How can I close all of them except the two that was last opened?

      1 Reply Last reply Reply Quote 0
      • M
        miro1360 last edited by

        one of ways can be this (but I have not tried) ... :

        0_1519241705432_b6f7d4b7-ff5b-4fd6-8a42-bb3cd054b8e6-image.png

        Between trading and gambling is a very small gap, be careful.

        1 Reply Last reply Reply Quote 0
        • S
          Skollie last edited by

          Thanks for the help Miro, much appreciated.

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

            In that "For each Trade" block these "Loop settings" you see "Skip n trades". If you have 2 there, then the block will skip the first 2 trades that it founds, so "close" would run for all other trades.

            The other option "Not more than n trades" means that this is the total number of trades that could be affected (closed, in this case). I think you want to set this to 0 (or empty)

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

            Online Users

            C
            I
            E
            Y
            D
            J
            R
            P

            13
            Online

            146.9k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors