fxDreema

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

    Close Open Position After 'x' Minutes With Crossover Condition

    Questions & Answers
    3
    4
    426
    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.
    • O
      ozonevista last edited by ozonevista

      Hello please i need help in setting a EA. I want to open a buy position when EMA (9) crosses above EMA (55) and close the buy position when EMA (9) crosses below EMA (55) but only 150mins after the buy entry. That is to say if EMA (9) crosses below EMA (55) and the time is less than 150mins, for example (148mins) the EA does nothing but if the time is greater than 150mins and the said condition EMA (9) crosses below EMA (55) then the EA closes the position. The EA only starts looking for the exit condition (EMA (9) crosses below EMA (55) ) only after 150mins have passed from the open of the buy entry. Thank you in advance for your contribution.

      TipsyWisdom 1 Reply Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @ozonevista last edited by

        @ozonevista said in Close Open Position After 'x' Minutes With Crossover Condition:

        Hello please i need help in setting a EA. I want to open a buy position when EMA (9) crosses above EMA (55) and close the buy position when EMA (9) crosses below EMA (55) but only 150mins after the buy entry. That is to say if EMA (9) crosses below EMA (55) and the time is less than 150mins, for example (148mins) the EA does nothing but if the time is greater than 150mins and the said condition EMA (9) crosses below EMA (55) then the EA closes the position. The EA only starts looking for the exit condition (EMA (9) crosses below EMA (55) ) only after 150mins have passed from the open of the buy entry. Thank you in advance for your contribution.

        will you be attempting the project yourself and posting a link or are you asking someone to do it for you?

        O 1 Reply Last reply Reply Quote 0
        • O
          ozonevista @TipsyWisdom last edited by ozonevista

          @tipsywisdom The said above is an example to lay emphasis on the exit strategy, this is the project link text so the question is, am i getting the exit strategy right or am i getting it wrong, i want to exit the trade with the condition only after 500mins has passed from the time of entry.

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

            @ozonevista Both 'close trades' settings are correct but no 'condition' blocks should be connected below them. If those trades were open with a different condition then yo should use variables.

            (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

            D
            E
            M
            H
            C
            I
            I
            E

            19
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors