fxDreema

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

    how do i close a position when two indicators meet?

    General Discussions
    2
    8
    1333
    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.
    • M
      Maverick83 last edited by Maverick83

      how do i close a position when two indicators meet?

      T M 2 Replies Last reply Reply Quote 0
      • T
        trader.philipps @Maverick83 last edited by

        @maverick83 That depends on the indicators. If both are in the chart and have a price value, you might use a condition block. Otherwise you might chain 2 conditions such as RSI x>30 and Price > EMA 20

        It really depends. So if you have a project to start with, you may post a link. Or specify your conditions more precise!

        I like to share my knowledge, but expect the others to contribute as well.

        M 1 Reply Last reply Reply Quote 0
        • M
          Maverick83 @trader.philipps last edited by Maverick83

          @trader-philipps thanks for replying, using the ADX indicator I have to stop the trade when example d- = d +,

          1 Reply Last reply Reply Quote 0
          • M
            Maverick83 @Maverick83 last edited by Maverick83

            @maverick83 this is my link https://fxdreema.com/shared/B16RaNzec

            T 1 Reply Last reply Reply Quote 0
            • T
              trader.philipps @Maverick83 last edited by

              @maverick83 Well, I have it build here but can't upload the mq5 file unfortunately due to permissions. Don't know what the issue is. So I'll make screenshots.

              First I would suggest to specify candle ID 1 on where ever you reference an indicator as on candle ID 0 values still might change until the candle is closed.

              Here is the close logic.

              0_1578756565078_6adb7a3e-8436-43bd-9b76-8baf3b736d68-image.png

              I like to share my knowledge, but expect the others to contribute as well.

              M 1 Reply Last reply Reply Quote 0
              • M
                Maverick83 @trader.philipps last edited by Maverick83

                Thank you for your support

                T 1 Reply Last reply Reply Quote 0
                • T
                  trader.philipps @Maverick83 last edited by

                  @maverick83 Remember that ADX is lagging a lot and hence you should have other confirmations as well.

                  I like to share my knowledge, but expect the others to contribute as well.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    Maverick83 @trader.philipps last edited by

                    @trader-philipps ok thank you

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    Online Users

                    J
                    E
                    G
                    K
                    C
                    P

                    29
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors