fxDreema

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

    I Want To Create A EA With Custom Indicator

    Questions & Answers
    2
    98
    16797
    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.
    • T
      TalalKhan @jstap last edited by

      @jstap No dear it's not an issue, i tried already with below, How can below work if we want to reset condition if indicator is rising from -200 to -25. It's clearly seeing that above -25 should work, but it's not working don't know why.

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

        @talalkhan I do not know what values you are getting from your indicator, referance the value vs the candle ID, this will tell you if the tine is higher/lower now to a previous candle position.

        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! 😊

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

          @jstap Leave this, don't know why - value is not working fine 😞
          Comes to another point last but not the least
          If indicator is crossing below 200 EA changed his direction buy to short (already added)
          and if indicator is rising again from above any value of in b/w 100/200 to 200+ zone EA changed his direction short to buy again.
          How can i do this?
          0_1634990565769_Screenshot_194.jpg

          T 1 Reply Last reply Reply Quote 0
          • T
            TalalKhan @TalalKhan last edited by

            @jstap one more problem in EA
            EA changes his direction while crossing below 200 (buy to short), EA find short setups but EA also picking long trades because buying condition also matching for trade.
            How can i stop long conditions when ea is crossing below 200?

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

              @talalkhan Depends on why, maybe just allow 1 trade either or sell, put a shared link so reasons can be assessed.

              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! 😊

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

                @jstap Here is the shared link
                https://fxdreema.com/shared/pK9X8JvYc
                See screenshot indicator is crossing below 200, EA starts to finds short setups but also long setups because long setups condition also matched.
                Before crossing below 200 buy tree 1 was working, after crossing below 200 sell tree 2 activated, but buy tree 1 also working, how can i stop buy 1 when sell 2 activated.

                0_1635061432266_Screenshot_195.jpg

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

                  @talalkhan Depends on how you want to happen, when cross happens turn opposite condition to 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! 😊

                  T 1 Reply Last reply Reply Quote 1
                  • T
                    TalalKhan @jstap last edited by

                    @jstap Can you please give me a live example on my project,
                    If blue line crosses below 200 buy tree 1 stop trading and sell tree 2 start trading.
                    Sell tree 2 is doing his work but main problem is buy tree 1 is continue to trade. How to stop that.
                    Please give me live example, if you can't understand tell me i will further explain in a better way.

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

                      @talalkhan This goes alone the same lines that I've showed you, if one condition alows 1 type of trade but should stop another, cus this condition to turn the other variable 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! 😊

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

                        @jstap Please check this, i did it right or not?
                        0_1635081664171_Screenshot_196.jpg

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

                          @talalkhan As long as this condition is in the tree this will start/stop trading when condition is met or not.

                          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! 😊

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

                            @jstap When condition is met or not,
                            Means i didn't do it on a right way? Is something wrong please explain

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

                              @talalkhan The set up is correct but it's using a cross so when the cross happens the variable is set to true, on every other candle the variable will be set back to false, use this variable to only be true/false when it suits your defenitions.

                              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! 😊

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

                                @jstap Sorry for late, we Pakistanis were busy in Pakistan vs India cricket match clash, hehe
                                Comes to the point, sir how can i set this to true false both,
                                Can you please give me live example through screenshot or sharing link.
                                Here is project check block (282, 283, 284)
                                https://fxdreema.com/shared/SiV2eKRTc

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

                                  @talalkhan 0_1635111649454_f1fb69f7-84df-4b3b-ada8-fa4f6af705d7-image.png

                                  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! 😊

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

                                    @jstap Sir check my project and tell me, I did it right or not?
                                    Check blocks (282, 283, 284, 285) & check connection of block 286 in buy tree 1
                                    https://fxdreema.com/shared/lVosHWI4c

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

                                      @talalkhan You have conflicting conditions, a bool cannot be a number, once x< has happened it is below, so condition to reset needs to happen at a different time with a different condition?

                                      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! 😊

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

                                        @jstap
                                        282 & 283 will stop tree 1 if indicator is crossing below 200 from above 200 if i am not wrong,
                                        284 & 285 will reset this above condition when indicator is at 0
                                        I think you are talking about block no 284 i used a value in this, can you tell me what i d with this block if you are talking about that block

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

                                          @talalkhan You have a condition making a bool condition true, then at the same time you have a condition changing this condition to 0, you have no comment block to visually check what is happening. Put the variables into a comment, visually check what is or isn't working, this way you will know what to check.

                                          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! 😊

                                          T 2 Replies Last reply Reply Quote 1
                                          • T
                                            TalalKhan @jstap last edited by

                                            @jstap Than how can i reset the previous condition which i used in 282 283?
                                            I thought that if i want to reset previous condition when indicator is at 0, this is the way to do it, Can you tell me what's the way to reset?

                                            jstap 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 3 / 5
                                            • First post
                                              Last post

                                            Online Users

                                            H
                                            R
                                            A

                                            13
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors