fxDreema

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

    How to check the last closed trade is closed by Stop loss?

    Questions & Answers
    7
    10
    3614
    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.
    • san
      san last edited by san

      I want to check the last closed trade is closed by stoploss or not. But even though there is a trade closed by Stop loss, its not getting triggered. What I am doing wrong here?

      Note: Please help me, I am not able to use any of the pink looping section. It doesn't do what it intended to do. Is there something am I missing while using or is it a bug?

      0_1545667451195_Screen Shot 2018-12-24 at 8.02.54 PM.png

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

        Hi san,

        Can you try "Trade Closed" blok "ON TRADE EVENT" section. You can find what you are looking for.

        Nice Day.

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

          @casper Thanx. But that is not what I want. I want to check the last closed trade was it closed by Stop loss... Also I don't think these pink blocks are working and I am trying to use things like For each pending order, normal for each and other things nothing seems to be working. This is the first time I am using these blocks. Am I missing something here?

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

            https://fxdreema.com/forum/topic/4246/example-for-each-trade

            This link is very useful and provided by great coder miro. I hope so I helped to you.

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

              Hello San,

              I have the same problem. Is it working for you now?

              Iam using:

              "for each closed trade" and "how it was closed" but I dont get back a result.

              Best regards,
              Martin

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

                @casper Thanks for sharing 🙂 @miro1360 Could you please help me to understand this?

                @martin-1 Nope

                I have put this simple flow.

                for each close trade newest to oldest and all options are empty and connected to the modify variable which does +1 and added an Alert to this variable.

                I have many closed trades. But it always shows 2 alerts with value 2. I am expecting it to hit the alert with values incrementing each time for each closed trade.

                Eg: My expectation is If 10 closed trades - then 10 hits with value 1,2...10 for each alert.

                Not able to understand why these pink blocks are so difficult to understand or use.

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

                  I tried this https://fxdreema.com/shared/EarAHn7E

                  And it works for me. I can choose to Buy or Sell in "on Init", so this way I can change the way the trade is closed. For me if it's a Buy trade, it is closed by SL and I see the comment meessage. Or if it is a Sell trade, it is closed by TP and I don't see the comment.

                  Can you give me similar example (I prefer simple example) that shows the problem?

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

                    @fxdreema Sorry to dig this topic up but this is the one I used for reference.

                    I open 3 positions, EA is supposed to check if they are closed by SL, TP or Break Even for each (divided by groups).

                    1st group doesn't work properly, 2 & 3 seems to work fine.

                    I tried changing the group number and I noticed that it seems to be always the first opened position to cause this issue.

                    Please enlight me, it's been 4 days that I try to achieve "just" this.

                    bk7 l'andorrĂ  2 Replies Last reply Reply Quote 0
                    • bk7
                      bk7 @jerkha last edited by

                      @jerkha do you have a project to share, so we can have a look at it?

                      1 Reply Last reply Reply Quote 0
                      • l'andorrĂ 
                        l'andorrĂ  @jerkha last edited by

                        @jerkha You already created a thread to ask exactly that. Please focus on that thread only.

                        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

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

                        Online Users

                        F
                        R
                        S
                        D
                        V
                        O

                        14
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors