fxDreema

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

    Maximum number of order

    Questions & Answers
    4
    5
    1270
    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.
    • F
      fpablosantana last edited by

      Hi, i did not understand... where i will to modify the variable counto to 0?

      1 Reply Last reply Reply Quote 0
      • D
        dnx103 last edited by

        Hello, I need some help here.
        I have tried to create an EA and I want to make the EA able to input maximum number of order.
        For example, I am using a Moving Average crossover and I want to make when the crossover happen, I want to enter 10 maximum number of order after the rule is fulfilled.
        I only know how to use once per bar block and if i do not put the block, the order keep on stacking until my margin is not enough.

        Thank you.

        1 Reply Last reply Reply Quote 0
        • roar
          roar last edited by

          I worked situations like this with a variable. Like this:
          When the crossover happens, modify variable Count to 0, just to erase the old count.
          Then proceed your block tree to the order creation, and after order, modify variable Count to Count+1.
          Simple as that, now you just add condition block (Count < max order number) to restrict further orders.

          Need small help? Tag me in your post
          Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

          1 Reply Last reply Reply Quote 0
          • D
            dnx103 last edited by

            Thank you.

            Definitely gonna try that out.

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

              Please create a new thread with your specific issue.

              (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
              • 1 / 1
              • First post
                Last post

              Online Users

              K
              H
              I
              K
              T

              10
              Online

              146.8k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors