fxDreema

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

    Check last closed trade

    Questions & Answers
    3
    9
    2397
    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.
    • B
      BlueMoon last edited by

      I would like to do "something" when a trade closes with minimum 20 pips profit. How do I create such a condition?

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

        I'm thinking you need to be specific how the trade will close then, by stop? By take profit? Then enable an action when the trade closes, knowing in advance when it closes by a certain method the +20 pips is guaranteed.

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

          Yes, it very much depends. There is a block Check profit (last closed). Also, the "on Trade" event can be used. Or another way.

          B 1 Reply Last reply Reply Quote 0
          • B
            BlueMoon @fxDreema last edited by

            @fxdreema said in Check last closed trade:

            Yes, it very much depends. There is a block Check profit (last closed). Also, the "on Trade" event can be used. Or another way.

            That is the closest that I could find with what I am looking for. But the "Check Profit" box is checking based on Amount. I need exact same thing but I need it to check in pips.

            1 Reply Last reply Reply Quote 0
            • B
              BlueMoon @Implosion last edited by

              @implosion

              My trades can close based on many reasons. I just want to set up a block with condition that if it has closed with 20 pips profit...then do.....(this does not matter)

              @implosion said in Check last closed trade:

              I'm thinking you need to be specific how the trade will close then, by stop? By take profit? Then enable an action when the trade closes, knowing in advance when it closes by a certain method the +20 pips is guaranteed.

              @implosion said in Check last closed trade:

              I'm thinking you need to be specific how the trade will close then, by stop? By take profit? Then enable an action when the trade closes, knowing in advance when it closes by a certain method the +20 pips is guaranteed.

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

                check profit unrealized filters on pips

                B 1 Reply Last reply Reply Quote 0
                • B
                  BlueMoon @Implosion last edited by

                  @implosion said in Check last closed trade:

                  check profit unrealized filters on pips

                  "Check Profit Unrealized" block is for checking profit of an existing open active trade. This will not help me. I am looking for pips in profit of the last closed trade and if the pips are created than for example 20 pips then I want to execute my code.

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

                    You can now make custom logic blocks, just hack the closest to your solution to fit the job

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

                      If it's only for 1 single trade, the last one, then you can use:

                      For each Closed Trade (set 1 to Not more than....) -> pips away from open-price

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

                      Online Users

                      H
                      P
                      E
                      M
                      F
                      M
                      H
                      A
                      P

                      14
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors