fxDreema

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

    Make a trade once per indicator signal

    Questions & Answers
    2
    10
    204
    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.
    • F
      Fireblade last edited by

      Lets say I want a buy trade when a SAR dot has appared under a candle and when its over EMA 20. Both have to be fullfilled.
      Now to the problem.
      It now hits my stoploss, SAR is still active upwards and now candle is once again above 20 EMA, so the bot makes another trade, but I dont want that, I just want a trade ONCE per SAR indicator, so first when there is created a new SAR situation downward or once again upward. How can I do this?

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

        Set flags, if trade can be placed set flag to tree, if not leave a false, check with a check flag block, you can switch on/off as you like.

        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
        • F
          Fireblade last edited by

          Thanks for the reply, never used Flags before is there another way. Also have in mind Im no coder. I though maybe there where a blog once per indicator 🙂

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

            There is no once per signal, you have to create it with flags, once per bar may do it, but SAR will be the same on many candles,.

            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 1
            • F
              Fireblade last edited by

              Is there some info here how this flag thing work

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

                This should do it, you'll have have to add sells and change conditions to how you want:

                https://fxdreema.com/shared/hp9rtLtNb

                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
                • F
                  Fireblade last edited by

                  What can I say, works perfectly, it help that I had this example, MANY thanks.

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

                    @Fireblade You are welcome

                    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
                    • F
                      Fireblade last edited by

                      So we have once per indicator signal, which is good, but what if i want a limit, lets say ex.
                      A buy trade can just go in with the first 3 dots from sar under the candle, but not further with that signal from the indicator.
                      So if it was on 1 H chart it can just go in the first 3 hours, if the sar dots continues its to late, so a possible trade must wait until next signal.
                      I looked at once per min but it dont really work the way I did it

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

                        Principle is the same "if this = this do this", but if different timeframes mean different settings. You have the flags to allow/stop trades, now new trees that will set these, condition PSAR is < or > candle ID4, this means that as soon as the dot is on 4 (so when 3 closes) you can set the flag false.

                        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
                        J
                        P
                        L
                        F

                        17
                        Online

                        146.7k
                        Users

                        22.4k
                        Topics

                        122.6k
                        Posts

                        Powered by NodeBB Forums | Contributors