fxDreema

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

    Help Needed With EA

    Questions & Answers
    2
    5
    135
    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.
    • A
      AsadAlrafidain last edited by

      Hi...
      I tried to code a reversal Martingale system with three sets of increasing orders with a target profit of 20 pips of the Last Position and a stop loss system that closes all positions if the price reaches 80 pips from the original position.

      The problem is when I test the EA it seams the new positions Lot size is stuck at the same size as the 1st Position, and the Positions never closes and the EA keeps adding new positions...

      Could Someone Please take a look to see where I've made a mistake? much appreciated

      Grid Reversal V1.mq5

      1 Reply Last reply Reply Quote 0
      • A
        AsadAlrafidain last edited by

        This Link to FXDreema Project

        https://fxdreema.com/shared/nzoWmj8be

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

          You are using Constants as your lot size for 1st, 2dn and 3rd trade. If you are selecting different values, they should be different as per your loginc. Is this the whole project or just part of it?

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

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

            @l-andorrà Hi...yes I'm using constants but the size is different
            Lot_1 is 0.01
            Lot_2 is 0.03
            Lot_3 is 0.07

            the problem is that the expert is only opening new positions using 0.01 lot size
            and the second problem is that the positions never close

            and yes this is supposed to be the whole project

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

              Trades never close because you specified those belonging to groups 1, 2 and 3 were to do it while all open ones belong to group 0. Simply remove those groups 1,2 and 3 from blocks 12, 27 and 42. On your lot size, it is weird because your logic is correct if those initial values are correctly selected.

              (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

              D
              A
              M
              K
              M
              B

              21
              Online

              146.7k
              Users

              22.4k
              Topics

              122.6k
              Posts

              Powered by NodeBB Forums | Contributors