fxDreema

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

    select certain order

    Questions & Answers
    2
    12
    2330
    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.
    • A
      abdullahraad52 last edited by

      hello admin can u explain me how to select tp of order before the last order opened
      ex if there 5 buys orders , i want to select the fourth one

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

        try this:
        0_1482594089839_upload-ccf6682b-a93a-42cc-9122-e26e484b9198

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

        A 1 Reply Last reply Reply Quote 0
        • A
          abdullahraad52 @miro1360 last edited by

          i try this but it not select the wanted trade , it select the last trade , not the one before it

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

            try this:
            0_1482622506015_upload-5ce4bbc3-2ef4-4681-a6f5-04561cdf5f95

            but for me are working both examplex that I provided to you ... maybe is something else wrong in your project ... my testing project where open price from second-last opened trade is printed on the chart:
            https://fxdreema.com/shared/7HurHl0Q

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

            A 1 Reply Last reply Reply Quote 0
            • A
              abdullahraad52 @miro1360 last edited by

              thank for u it working and the problem is from me,
              but one more question plzzz
              let tell ea open buy with take profit 25 pip , when the number of buy trades become more than 10 i want to modify the tp to 26 then 27 - 28 - 29
              in other way, buy trade of number 11 should tp with 26
              number 12 should tp with 27
              number 13 should tp with 28
              and like that
              and thank for u

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

                for checking trades count you can use block Check trades count

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

                1 Reply Last reply Reply Quote 0
                • A
                  abdullahraad52 last edited by

                  ok and for changing tp how i can do that

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

                    blocks:
                    Check trades count + For each trade + pips away from open price + once per trade + modify stops or extend stops
                    maybe I something left out, when you try it you will see result, if is not working, try other ways, there are always ways ...

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

                    1 Reply Last reply Reply Quote 0
                    • A
                      abdullahraad52 last edited by

                      i do that , but the problem in what the variable shoud be , since if want to select trades 11 and 12 and 12 one by one and make tp 26 and 27 , 28 it will take many many blocks, there is any way to make a variable to do this in one block?

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

                        here: https://fxdreema.com/shared/RGv1NaAwe
                        but you need vitalize your effort, it is important for big projects, more effort in logical problems gives you faster thinking in other logical problems ...
                        effort can be 101 attempts, where 100x are big fails and 1x is small success 🙂 and accumulate this success!

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

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          abdullahraad52 @miro1360 last edited by

                          thnks and thnks and thnks
                          thank for idea (trade count) i solve my problem , but in my own way
                          https://fxdreema.com/shared/NSnLGGSdd
                          and i cant solved without your idea
                          give me your comment

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

                            this is also working ok for your situation, have a success with that 🙂

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

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

                            Online Users

                            E
                            H

                            11
                            Online

                            146.7k
                            Users

                            22.4k
                            Topics

                            122.6k
                            Posts

                            Powered by NodeBB Forums | Contributors