fxDreema

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

    Trying to make a EMA Crossover that only does one trade at a time

    Questions & Answers
    4
    16
    982
    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.
    • N
      ninjowolf last edited by

      Does anybody know how to make an EMA Crossover that when two EMA's cross it enters ( a buy or a sell depending on what you want) one trade until it hits TP or SL and it doesn't enter again until another crossover. I am just having trouble making that. If need be i can but a link to what i have.

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

        No Trade > Condition > Buy@Sell

        1 Reply Last reply Reply Quote 0
        • N
          ninjowolf last edited by

          0_1650069133711_Capture3.PNG

          So delete the condition and close trades to the right and everything on the left is good or am i doing it wrong? cause it just enters multiple times.

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

            Yes @ninjowolf, delete right. Make sure you put Candle ID in condition blocks =1

            N 1 Reply Last reply Reply Quote 0
            • N
              ninjowolf @biztet last edited by

              @biztet 0_1650125250509_Capture4.PNG 0_1650125259871_5.PNG

              So I did that and I feels like its really close. Its still doing multiple trades. I only want it to take one trade until it hits TP or SL then when it crosses over again to make another trade doing the same thing where it either hits TP or SL

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

                Did you check the result if the single trade closed before open another or not? Becoz i don't see anything that makes it open multiple trades. Your work is in On Tick tab, right?

                N 1 Reply Last reply Reply Quote 0
                • N
                  ninjowolf @biztet last edited by

                  @biztet 0_1650126754768_6.PNG

                  so it looks like it is opening and closing a trade almost immediately but its doing it multiple times. yep i'm on the On Tick tab

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

                    So it's working just like you want. Only you need to play with the settings.

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      ninjowolf @biztet last edited by ninjowolf

                      @biztet Man im so sorry im dumb. yea i see that it is working. The Tp and the SL are working. The sells and buys are kinda working in the sense that it opens the sell correctly but exits way above the candle and vice versa the buy enters way above the candle and but exit correctly. Could that be because of spread? I'll try and see if i can figure that out thanks!!

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

                        Why does the EA open another trade after hitting TP
                        Its a simple SAR open above the candle and close after hitting TP ,
                        can anyone please help me
                        ive been trying different variables with no luck
                        https://fxdreema.com/shared/AAs69rxye
                        thanks

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

                          @BrettEvans Until PSAR changes from one side to the other your conditions are correct, 1st condition check if< or > on ID1, second condition check if > or < on ID0, this will only activate when PSAR changes.

                          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
                          • B
                            BrettEvans last edited by

                            Thanks for the tip
                            DO i place the second condition in the same row below the 1st condition
                            As i only want sell trades when PSAR is above the candle
                            The setup currently works ,but takes another trade after TP hit for some reason
                            I thought it would be something like trade once rule ?
                            I have tried every combination and searched the net aswell for examples

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

                              @BrettEvans Put it in a row so it checks condition 1, then checks condition 2.

                              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
                              • B
                                BrettEvans last edited by

                                HI
                                Does this scenario not just cancel the 1st condition as per below
                                https://fxdreema.com/shared/boZQ6qgwc
                                Thanks pal

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

                                  OK i tried it ,still opens another trade after hitting TP in the same direction
                                  I must be missing something ?

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

                                    @BrettEvans This is correct, it will only reopen a trade if it closes with the PSAR still < > on the same candles it opened the first 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

                                    M
                                    F
                                    M
                                    H
                                    A
                                    P
                                    K

                                    17
                                    Online

                                    146.7k
                                    Users

                                    22.4k
                                    Topics

                                    122.6k
                                    Posts

                                    Powered by NodeBB Forums | Contributors