fxDreema

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

    open buy / sell position

    Questions & Answers
    3
    6
    689
    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.
    • B
      baccicin last edited by

      Good afternoon, I need some help please. I created my first EA. The expert should buy if the previous close of the candle is above the high of a moving average and a sell position should be open when the previous close of the candle is below the other moving average. The position should be open on the current candle. The EA works but not as I would like, because the positions are opened before the close of the previous candle, that is, they open the position on the current candle and before the crossing with the moving average. Can someone help me? I did not find the answer in the Forum, if there was already an answer and someone wanted to report the discussion to me I would be grateful. Thanks bye. Fabio

      B 1 Reply Last reply Reply Quote 0
      • B
        belgam @baccicin last edited by

        @baccicin Hello. Could you share your project with link ?

        1 Reply Last reply Reply Quote 0
        • B
          baccicin last edited by

          sure, https://fxdreema.com/shared/3KChZHJ8e
          thanks a lot

          B 1 Reply Last reply Reply Quote 0
          • B
            belgam @baccicin last edited by

            @baccicin Thanks.

            What is the number of your Moving Average ? MA8 ? MA4 ?

            Do you have settings (TP, SL, etc.) ? Cause, like that, your EA works but it does nothing.

            1 Reply Last reply Reply Quote 0
            • B
              baccicin last edited by

              ah, i left it "empty" just to try and change the combination everytime, just to learn... it's not a trading system, it's just to have a starting point. What i am trying to get is that the code should wait the close of the candle and, if there is a cross on the high or on the low of a moving average, a position should be open. On contrary, in this moment, the code open positions on the current candle and often without a cross

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

                @baccicin That depends on what you exacly want. You current configuration is searching for crossinf on candle ID 1 while you apparetly are looking for crossings on highs/lows. Could you please provide a more detailed list of conditions to be met?

                (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
                A
                P
                V
                T
                R
                M
                G
                H
                J

                20
                Online

                146.6k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors