fxDreema

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

    Help Needed with Adding Stop Loss Condition to EA

    Questions & Answers
    2
    7
    203
    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
      lele13061991 last edited by

      Hi,

      I need help modifying my EA that uses pending orders. The EA dynamically calculates stop loss based on recent highs/lows, ranging from 2 to 50 pips.

      I want to:

      Prevent placing orders with a stop loss below 22 pips.

      Alternatively, delete orders that have been placed with a stop loss below 22 pips, per tick to avoid market entry in case of fast market events.

      Any assistance is appreciated!

      Thanks,

      1 Reply Last reply Reply Quote 0
      • L
        lele13061991 last edited by

        @fxDreema

        1 Reply Last reply Reply Quote 0
        • L
          lele13061991 last edited by

          @l-andorrà

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

            Well, I have no idea how your SL distances are calculated in the first place. Could 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.

            1 Reply Last reply Reply Quote 0
            • L
              lele13061991 last edited by

              Hi, Andorrà,

              I use custom price levels to calculate the SL, and then determine the price of the Stop Loss based on the candle ID high or low.

              Here is the link to the project:

              https://fxdreema.com/shared/xdOde2nMb

              1 Reply Last reply Reply Quote 0
              • L
                lele13061991 @lele13061991 last edited by

                @lele13061991 said in Help Needed with Adding Stop Loss Condition to EA:

                @l-andorrà

                @l-andorrà

                Hi, Andorrà,

                I use custom price levels to calculate the SL, and then determine the price of the Stop Loss based on the candle ID high or low.

                Here is the link to the project:

                https://fxdreema.com/shared/xdOde2nMb

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

                  @lele13061991

                  Then you can connect this structure below both 'buy/sell pending orders.

                  https://fxdreema.com/shared/xnA2tXNQc

                  It should delete all pending orders with a SL distance bigger than 22 pips immediately after having created 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.

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

                  Online Users

                  R
                  A
                  E

                  11
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors