fxDreema

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

    Basic Condition will not always work (candles and MA's)

    Questions & Answers
    2
    4
    355
    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.
    • J
      julianrbach last edited by

      Hi there!

      This is only 1 part of a larger EA. But I cannot get this 1 thing to work perfectly.
      The logic is:

      IF: (Candle(1) Close > 20 Simple MA)
      AND: (Candle(1) Low < 20 Simple MA) OR (Candle(1) OPEN < Simple MA)
      AND: (IF: BID Price x> Candle(1) High)
      THEN: OPEN TRADE (Market Order)

      So this works most of the time. Which is great.
      But in other very obvious cases, where the candle conditions are clearly met (perfectly), trades are not opened. I have ran this multiple times on backtests in MT5.
      I have also gone back to these failed instances in the backtest and I checked the values or everything at that exact point. And it should have worked, but it doesnt.

      Any opinions on why?

      Here is the link:

      https://fxdreema.com/shared/ROwKbKBMd

      regards
      Julian

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

        @julianrbach Two suggestions:

        1. Are you reaklly planning to manage manually opened trades? If not, modify the 'All(automated...' option to the strandar 'Group' option.

        2. Yot are comparing candle ID 1 close price with MA candle's 0 value. Are you sure that is what you want? I suggest to modify all candle ID of all condition operands to candle Id 1.

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

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

          @l-andorrà

          Hi, Ok I fixed the NoTrade blocks to the standard.

          But, I have looked at all the other settings, and double checked them now. But Im still getting missed entries. This is only a small part of a larger EA, but I cant get this small thing to work everytime.

          This is what the logic looks like now:
          https://fxdreema.com/shared/Wbeyv2awb
          0_1594679698646_Capture.JPG
          I have attached a image of a little test. You can see 2 positions successfully open and close. And I marked those ones with a red arrow and blue correct mark.
          But then there are 2 other places where trades should have opened. All the conditions were met, exactly the same. But it did not open. I mark those with a red cross. (I also checked the values of those candles at the failed entry points and compared it to the SMA at that time. Looks fine, and yes, it should stlll have opened.

          regards
          Julian

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

            @julianrbach I don't see which block of your project is comparing the value of close candles to those blue spots. Where do they come from?

            (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
            L
            H

            6
            Online

            146.8k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors