fxDreema

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

    How can I find the average opening price for the last two positions?

    Questions & Answers
    6
    44
    6374
    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.
    • bk7
      bk7 @khalids222 last edited by

      @khalids222

      so you want to make a grid?
      what you wrote before is in conflict with your post where you said there are max 2 buy positions at any time
      as you said in your last post there are 4 or more buy positions plus probably other positions...

      if you have a complete trading plan you can send it to me via pn and i can think about a solution, if you want you can post all here as well if you dont mind.
      But without knowing all trading actions at any step needed it is hard to make a solution that works because from what i see in your last post all needs different approach.

      khalids222 1 Reply Last reply Reply Quote 0
      • khalids222
        khalids222 @bk7 last edited by

        @bk7
        What I wrote here is not different from what I wrote previously, but here I opened four deals? Assuming that the price did not rise until after opening four deals
        In this case, I want to close the last two deals
        This was clarified in determining the closure of deal No 3 & 4
        Meaning, I want to close the last two deals every time even if the number of deals is one hundred

        bk7 L 2 Replies Last reply Reply Quote 0
        • bk7
          bk7 @khalids222 last edited by

          @khalids222

          yes 4 deals are different from max 2 deals, why does it matter?

          if you have only 2 (buy) deals max you can simply close all open orders, if you have more open at the same close all would not work, so is different.

          1 Reply Last reply Reply Quote 0
          • L
            LadyDolares @khalids222 last edited by

            @khalids222 I also think about the idea you think, but I can't do it.. I hope you can solve it... If you succeed, I ask you to share your project with us here, because we rookies who are eager to learn are looking forward to it. I wish you success....

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

            Online Users

            F
            G
            G
            T
            E
            E
            A
            K
            M

            24
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors