fxDreema

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

    Prevent multiple entries at the same time?

    Questions & Answers
    2
    7
    885
    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.
    • I
      Iceyheart last edited by

      Hi all. I'm new here but I have a issue I'm wondering if anyone can help me solve.
      I trade on the daily time frame and at the same time every day i execute my trades.
      My problem Im not sure how to fix is if I'm trading at the same time every day on all 28 pairs with exposure management i.e. 2% each trade (my max risk for a currency long or short).
      If I get two signals at the same time. (once again i trade daily at the same time each day) how can i code it or prevent it from taking two trades at 4% if its executing them at the exact time?
      I know how to check trades previously made but not prevent this from happening at the same time.
      Any ideas are appreciated.

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

        @iceyheart Can you please share the link to your project?

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

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

          @l-andorrà i dont have much really made. this was my first and main problem and issue ive been trying to solve before moving forward with my Fxdeema project. I use Mt4 and need to know if this is possible to do here. I need to know if this is possible to solve first before sinking too much time into it.

          i should probably ask it like this,

          #1 can i run a function to see how many possible trade signals my system has generated before placing orders,
          #2 split my max risk 2% for all single currency long positions and/or 2% for shorts among all pending position.
          and #3 execute all orders once confirmed and organized.

          i know it a little complicated but its my one issue ill need to solve in order to go forward with my algo here and build it out.

          i just want it to recognize how many trades are to be placed or something. my goal it to prevent it from overexposure when its executing all trades at once (all my trades are set to 15 min before candle close). i need it to somehow tell how many signals its gotten and place the proper risk accordingly if that makes sense.

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

            @iceyheart I'm afraid I don't fully understand. How is the EA supposed to know what the price will do in the future to calculate how many trades will be programmed? Don't you mean maybe how many PAST trades were executed before programming a new one?

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

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

              @l-andorrà im saying at the time of day i have set for all my trades to check if a signal was made so that it can place a trade, Im wondering it it can check how many signals i have before the trades are executed.
              So if i have my risk at 2% for all long and 2% for all short positions on a given currency, that if i get say 2 signals to go long it wont take both at 2% = 4% risk.

              example*
              Its is 21:45 GMT, This is the same time i want my FX EA to trade my currencies every day of the week.
              At 21:45 my EA checks to see what signals have been generated since last candle closed. (The each EA is running on all 28 currency pairs.)
              At 21:45 lets say 2 pairs EUR/USD and EUR/CAD both generate a signal to go long.
              so both would be executed at the same time at my max risk 2% each equaling 4%. this i DO NOT want to happen.
              I want it to somehow check at that time of day (21:45 GMT) when it looks for my signals to see how many there are (almost like a check trade for previous signals) and distribute the 2%risk between the two pairs OR if i have too just take one at 2% but NOT execute both at the same time taking 4%.

              i hope this is more clear. trying to control exposure here. once again i use MT4

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

                @iceyheart Now I understand. Well, that is a complex structure to implement. You definitely need a loop searching for all symbols ans past candles to find those previous sugnas. Unfortunately loops are not my field of expertise. Maybe roar or miro would be able to help. Sorry for not being so helpful.

                (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
                • I
                  Iceyheart last edited by

                  its ok. at least you tried. its one factors i need to solve and then i can use the rest of fxdreema as far as i know.
                  I believe GlobalVariableSetOnCondition may be what i need but i know nothing about coding and am struggling to find any professional to hire or help me on this.
                  Hopefully one of those guys you mentioned will see this or im just SOL.

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

                  Online Users

                  M
                  C
                  K
                  T
                  K
                  D
                  K

                  16
                  Online

                  146.6k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors