fxDreema

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

    Hello Family,i have looked also in the forum,but could not find solution.I want my EA to take a sell position at until a certain distace from an Object on chart.No trades should be taken above that distance in pips.Thanks.

    Questions & Answers
    2
    8
    254
    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.
    • K
      Kg1 last edited by

      Hello Family,i have looked also in the forum,but could not find solution.I want my EA to take a sell position at until a certain distace from a moving average.No trades should be taken above that distance in pips.Thanks.https://fxdreema.com/shared/7GKrwxEAc

      1 Reply Last reply Reply Quote 0
      • jstap
        jstap last edited by

        By having a cross especially above a condition and a no position block means it can only place 1 trade

        Learn fxDreema Without the Wait!

        My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

        The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

        Don’t miss out

        Click here➡️ https://mybook.to/fxDreema to get your copy today!

        Enjoy! 😊

        1 Reply Last reply Reply Quote 0
        • K
          Kg1 last edited by

          Not sure if I quite understand you sir. Can I see an example of this?

          1 Reply Last reply Reply Quote 0
          • jstap
            jstap last edited by

            A cross is likely to happen once in a candle, even if price bounces the distance will be the same, so checking this above distance is pointless, check distance then the cross. The no position block will not pass if another position has been created... by pass I mean moving on to the next block

            Learn fxDreema Without the Wait!

            My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

            The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

            Don’t miss out

            Click here➡️ https://mybook.to/fxDreema to get your copy today!

            Enjoy! 😊

            1 Reply Last reply Reply Quote 0
            • K
              Kg1 last edited by

              Thanks a lot sir,let me do that.

              jstap 1 Reply Last reply Reply Quote 0
              • jstap
                jstap @Kg1 last edited by

                @Kg1 If you remove the once no position block you will get many trades together, set a reason to place a trade, something like once per bar

                Learn fxDreema Without the Wait!

                My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                Don’t miss out

                Click here➡️ https://mybook.to/fxDreema to get your copy today!

                Enjoy! 😊

                1 Reply Last reply Reply Quote 0
                • K
                  Kg1 last edited by

                  I have realized that the EA still takes trades even beyond the specified distance.I think there is something that i dont do correctly on the "Check Distance "block.I dont have a problem with the number of trades taken at a time.If i check distance between two moving averages,then i dont experience problems.My problem is i dont know how to express lets say 100 points below 100 Moving Average.

                  1 Reply Last reply Reply Quote 0
                  • jstap
                    jstap last edited by

                    I would, high (ma price) - ask price (will give you the distance in points) is greater than x.xx. If so place the trade

                    Learn fxDreema Without the Wait!

                    My comprehensive book, available on Amazon, is packed with examples and invaluable insights to help you fast-track your learning journey.

                    The paperback and hardback editions include MT4 & MT5 QR codes for easy access to all prebuilt projects and robots, including my latest gold trading robot!

                    Don’t miss out

                    Click here➡️ https://mybook.to/fxDreema to get your copy today!

                    Enjoy! 😊

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

                    Online Users

                    L
                    H
                    S
                    E

                    7
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors