fxDreema

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

    Please help me!... I need to make my EA not trade if the price touches the High and Low of the previous day's session.

    Questions & Answers
    2
    7
    286
    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.
    • VHV-Profit-Masters
      VHV-Profit-Masters last edited by

      Please, I need help!... I've tried everything and can't get it to work properly. This is a high-low breakout EA captured from a past session. It's a completely mechanical strategy.
      In the first time frame, my EA captures the high and low. In the second time frame, the EA checks if the market touches the previous high or low. If the market touches the previous high or low, the EA should display a message on the screen and not trade that day. It should start trading the next day.
      I need to make my EA not trade if the price touches the high and low of the previous session, and if the price doesn't touch the previous high or low, I need to make it trade that day.
      Friends: @fxDreema, @l-andorrà, @jstap, @OntradingX, @roar

      If you can help me make the necessary changes to my project thread so I can resolve this, I would be very grateful.

      This is the link to my project:

      https://fxdreema.com/shared/IaO8QWloe

      Image:
      e312a99c-4fb6-4ab4-98fe-9ba4bbd12ec4-image.png

      1 Reply Last reply Reply Quote 0
      • VHV-Profit-Masters
        VHV-Profit-Masters last edited by

        Any charitable souls out there?

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

          But what if today's proce levels are not touching yesterday's high/low for the first hours and then later on the session any of those is hit? I don't fully understand the logic. Can the bot trade today if yesterday's high/low are not hit but lates trades are closed if those are hit? What is the exact point of that?

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

          VHV-Profit-Masters 1 Reply Last reply Reply Quote 0
          • VHV-Profit-Masters
            VHV-Profit-Masters @l'andorrà last edited by

            @l-andorrà
            Thank you, my friend, for your attention to my call for help with this project. Below I share with you the detailed explanation of this strategy that I created with the help of AI.

            Parameters and Configuration of the Intraday Breakout Strategy for Previous Session Highs and Lows
            This is a mechanical trading system based on the breakout of the previous day's highs and lows. It is executed on the GBP/JPY currency pair and follows strict rules for order placement, risk management, and result optimization.

            Parameters and Configuration

            1. Asset and Execution Time
              Trading Pair: GBP/JPY
              Reference Timeframe: Daily
              Reference Time Zone: UTC+1
            2. Identification of Key Levels
              The previous day's high and low are identified within the period between 9:00 and 11:00 (UTC+1).
              These levels define the points where buy and sell orders will be placed.
            3. Trading Conditions
              The market is monitored until 23:00 (UTC+1) for evaluation.
              If, between 23:00 and 00:00 (UTC+1), the price has not broken the previous day's high or low, pending orders are placed:
              Buy Stop Order at the previous day's high.
              Sell Stop Order at the previous day's low.
              Cancellation Rule: If the price breaks the high or low before 23:00 (UTC+1), no trades are executed for that day.
              Risk Management and Profit Targets
            4. Order Management
              Risk per trade: 2% of capital is risked per trade.
              Stop Loss (SL): 20 pips from the entry point.
              Take Profit (TP): 40 pips from the entry point.
              Risk/Reward Ratio: 1:2 (for every 1% risked, the target is to gain 2%).
              Exclusion Rule: If a trade from the previous day is still open, no new orders will be placed until the previous trade is closed.
              Optimization and Improvements
              Backtesting and optimizations were conducted to enhance the profitability of the strategy. Three key adjustments were identified to improve its performance:

            Pending Order Exposure Time
            If a pending order remains untriggered for more than 10 hours (600 minutes), it is recommended to cancel it.

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

              You need a condition block cheking where price is at 00:00. If it is below yesterday's high, program a pending. If it is above. Don't trade today. Same for yesterday's low.

              (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
              • VHV-Profit-Masters
                VHV-Profit-Masters last edited by

                @l-andorrà
                Note that in the thread of my post I have already tried to do it as you tell me but I have not been able to get it to work, for this reason I am asking for help to solve it in the thread that I shared.

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

                  You are using the GMT time option. I don't recommend it. Whenever possible, use Server time. Additionally, you can store the values of both yesterday's high and low on variables on the 'on timer' tab instead. Then you can check what price is doin later on the on tick tab.

                  (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

                  E
                  Y
                  L
                  F
                  S
                  F
                  N
                  S

                  30
                  Online

                  146.7k
                  Users

                  22.4k
                  Topics

                  122.6k
                  Posts

                  Powered by NodeBB Forums | Contributors