fxDreema

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

    Lot calculation

    Questions & Answers
    4
    5
    718
    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.
    • D
      drankman last edited by drankman

      Hello!
      I have some issue regarding lot calculation.
      I created an EA where it should calculate lot based on ATR. (as screenshot below)
      For example: ATR: 0.85 ; Risk : 0.4%; Balance: 10000, then lot should be 0.07 lot.

      So far it has been working fine, however as I have a new account (with different brokers), the lot calculation didnt work properly. It didnt calculated based on ATR but rather based on risk percentage and balance account.
      so like this: Risk : 0.4%; Balance: 10000, then lot was 0.04 lot.

      Here is the project: see the buy now/sell now block
      https://fxdreema.com/shared/QYjQJeMtc

      I'm assuming this must be some bug, but not sure, because it worked on some account but not in another one.
      So, maybe anyone could help?

      l'andorrà jstap 2 Replies Last reply Reply Quote 0
      • vish
        vish last edited by vish

        Due to different leverages??

        1 Reply Last reply Reply Quote 0
        • l'andorrà
          l'andorrà @drankman last edited by

          @andrewfrank I can't see any problem in the logic. Apparently it's a broker's thing.

          (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
          • jstap
            jstap @drankman last edited by

            @andrewfrank I am not sure how you get a verified lot size as, the atr that is constantly changing is setting your stop, as your balance changes so will the lot, that's 2 factors dynamically changing your lot. On certain brokers you have things like minimum stop loss, this could also change how your lot is calculated, how are you verifying all parameters are as required to give you your lot?

            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! 😊

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

              @jstap I am assuming the lot size will be calculated as the tick goes.
              @vish @l-andorrà ok thanks! I was assuming this too.

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

              Online Users

              P
              R
              S
              R
              E
              M
              P
              C
              J

              21
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors