fxDreema

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

    lot buy and sell

    Questions & Answers
    2
    3
    322
    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.
    • khalids222
      khalids222 last edited by

      I try to create a lot every time it works to subtract the sell from the buy, the difference between them is collected by the other party +0.01
      Example
      sell= 0.01
      buy= 0.01
      buy=total buy -total sell + 0.01 = (0.01- 0.01)+ 0.01 = 0.01


      Suppose all buy trades are closed and 10 sell trades remain in the market
      sell= 0.01
      buy = 1.20
      sell = total sell - total buy + 0.01 =( 0.01 - 1.20) +0.01 = 1.10+0.01 = 1.20

      The problem is when the second party is zero, the lot will be doubled, if there are two buys behind some or more, for example
      buy = 1.20
      sell= 0.01
      buy2= total sell - total buy + 0.01 =( 0.01 - 1.20) +0.01 = 1.10+0.01 = 1.20+1.20 = 2.40

      https://fxdreema.com/shared/8DImhdvLb

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

        @khalids222 I am a little lost on how RESULT is getting a value, I will say though before buying/selling check what trades are running and if needed change the lot variable.

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

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

          @jstap I think your understanding is correct.
          Rule
          If buy count = sell count
          Buy count - sell Count +1

          Buycount > sell count or vise versa

          Fixed lot 0.01
          Suppose we have ten buy and ten open sell trades in the market, ،it uses the following rule

          Suppose the sell profit and closed will remain ten buy in the market I want a fixed lot to buy. In the event of a sell , it covers all buy transactions

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

          Online Users

          A
          A
          L
          G
          N
          S

          22
          Online

          146.7k
          Users

          22.4k
          Topics

          122.6k
          Posts

          Powered by NodeBB Forums | Contributors