fxDreema

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

    How to get total of positions regardless Buy/Sell

    Questions & Answers
    2
    4
    229
    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.
    • J
      jacque82 last edited by

      Hi, I know we have this Check positions count...

      51e45df7-0ca2-4fe8-b60b-a60c0106cd7a-image.png

      Which I believe if set Either Buys or Sells, it'll only do either or... Is there an easy way to take into account both Buys and Sells?

      Thanks again.

      E 1 Reply Last reply Reply Quote 0
      • E
        Edtoloza @jacque82 last edited by

        @jacque82 Do it separately, a check block for purchase and another for sale. I don't know if that is what you are asking.
        Note: I use translator

        J 1 Reply Last reply Reply Quote 0
        • J
          jacque82 @Edtoloza last edited by

          @Edtoloza Thanks for your reply, appreciate it. The EA I'm working on is able to open both buy and sells in the same "basket". I want the EA to be able to close all buys and sells together when the condition is met.

          E 1 Reply Last reply Reply Quote 0
          • E
            Edtoloza @jacque82 last edited by

            @jacque82 So just use the check profit (unrealized) block and you don't need the count block.

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

            Online Users

            E
            A
            G
            Q
            C
            T

            15
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors