fxDreema

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

    How can I ensure that only 1 trade is made per day?

    Questions & Answers
    4
    5
    1249
    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.
    • L
      legos36 last edited by

      ![I have tried using the "Once a day" block but it doesn't seem to work.

      Any advice would be greatly appreciated.

      Below, I have attached a screenshot of what I've done so far.

      Thank you in advance!

      0_1563904074147_Screen Shot 2019-07-24 at 1.47.16 AM.png

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

        The number ID of the 'If trade' block is lower that those 'Once a day'. That means it will always be executed before the other two and every tick, whereas the 'Once a day' columns will be executed just once per day :). Is that what the EA is supposed to do?

        (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.

        L 1 Reply Last reply Reply Quote 1
        • L
          legos36 @l'andorrà last edited by legos36

          Hey @l-andorrà thanks for your response!

          Ooo i did not know the number ID was sensitive for time filters. Okay i shall give it a tweak and see if it works.

          Ultimately the objective of this EA is to only Buy or Sell once a day within the given time range (0900GMT - 0800GMT).

          So for example if the bot has already made a buy position and closed it within that time range, there should be no more other trades being made for the remainder of that time range, even if the Buy or Sell condition presents itself again.

          At least that was what I was trying to achieve.

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

            Try something like this:
            0_1563915378283_3a7cb574-48b3-4746-b449-7c6a34b0dbeb-image.png
            Here I load the last closed trade, then I check its age. This is the time since it opened or closed, you will see these settings in "check age".

            W 1 Reply Last reply Reply Quote 0
            • W
              wajahat @fxDreema last edited by

              @fxdreema sir i want to stop system execute further trade hen first trade is over......
              I am using these two blocks with trade setup..sir can u correct me about these two blocks properties..

              BLOCK,,,,,,
              FOR EACH TRADE→_→Loop direction→_→ Newsest to oldest,,,,,,
              Not more than n trades→_→1

              BLOCK,,,,
              CHECK AGE→_→Get the age relative to→_→Open time
              Age needs to be→_→Older than or equal to
              Hours→_→2........
              Sir this the arrangement i am doing with my trade setup.......
              Sir can u plz explain to me that what can i.get by this arrangement....

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

              Online Users

              G
              B
              F
              K
              N

              15
              Online

              146.6k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors