fxDreema

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

    Close on opposite signal for EMA cross and close

    Questions & Answers
    2
    4
    470
    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.
    • C
      CryptoKnight last edited by

      Greetings friends!!

      I’m currently working on an expert advisor that will go long if a candle crosses and CLOSES above the 200 EMA. Also it will do the reverse, go short if a candle crosses and CLOSES below the EMA. My trouble is getting it to close if it’s going long but crosses and closes below the EMA then automatically start going short (closing on opposite signal) Very simple EA but this is proving to be a problem

      Here is the shared link for the project. Any help, particularly with a visual, will be most appreciated. Hope you all are staying safe!
      https://fxdreema.com/shared/w0ZFJDv0e

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

        @cryptoknight You need to specify candle ID 1 on blocks 2 and 3.

        (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
        • C
          CryptoKnight last edited by

          Thanks! So to do what I need I should chance 0 to 1?

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

            @cryptoknight Correct.

            (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

            K
            E
            S
            G
            E
            P
            G
            R
            N
            S
            E
            E
            M
            O
            B
            M

            45
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors