fxDreema

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

    Need Help with Indicator Cross Over Signal

    Questions & Answers
    5
    20
    1596
    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.
    • S
      SHUTCHIN last edited by

      Hi All

      I have developed an EA that triggers orders based on an indicator cross over however I would like to add a confirmation condition where it only triggers the order if the indicator line is still above/below the selected indicator level after the next two candles. I have tried the AND commands but cant get it to work correctly.

      thanks

      TipsyWisdom 1 Reply Last reply Reply Quote 0
      • TipsyWisdom
        TipsyWisdom @SHUTCHIN last edited by

        @shutchin

        just put that 2nd condition before the first one. But we cant help unless we know what were looking at

        1 Reply Last reply Reply Quote 0
        • S
          SHUTCHIN last edited by

          Thanks for the response, I have included an image of the EA.0_1626994320165_EA_Image.png

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

            1. Use a separate no trade for buys and sells
            2. remove OR
            3. Put that condition that you want to put in place of where the OR is currently. Don't make that one a cross as well, it will present you with more tradeable scenarios
            S 2 Replies Last reply Reply Quote 0
            • S
              SHUTCHIN last edited by

              Thanks, really appreciate your help, I will give it a try

              1 Reply Last reply Reply Quote 0
              • S
                SHUTCHIN @TipsyWisdom last edited by

                @tipsywisdom

                Hello again. I am still struggling to get this to work. I tried putting the condition that the indicator needs to attain a certain value but will only open a trade if the indicator once attaining this value then crosses back over a another value, ie indicator needs to reach 300 then cross back over 100 before entering a trade. It doesn't open any trades when I test this version. Do you have any further advice on what I am doing wrong? To me it seems like its linking the condition criteria as and "AND" rather than a "THEN" and therefore not working.

                0_1628377158065_3ad0a4b6-96f4-411c-8e0f-ff0094cef13f-image.png

                1 Reply Last reply Reply Quote 0
                • S
                  SHUTCHIN @TipsyWisdom last edited by

                  @tipsywisdom

                  To make it clearer for the structure that I am using please see updated EA tree.

                  0_1628381164563_c973f2fe-8a8e-4680-93a8-fdd82c08dd17-image.png

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    Loka Heng @SHUTCHIN last edited by

                    @shutchin Share link here so that other can help to check for you..

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      SHUTCHIN @Loka Heng last edited by

                      @loka-heng

                      https://fxdreema.com/shared/417Rjzdfb

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        Loka Heng @SHUTCHIN last edited by

                        @shutchin I have checked, I don't know what do you want but i have change as below picture it work.
                        (0_1628396486058_Channel index.jpg

                        1 Reply Last reply Reply Quote 0
                        • S
                          SHUTCHIN last edited by

                          Hi

                          Thank for the response however that doesn't work fro me. All I need is for the program to open a trade if the indicator reaches -150 and then crosses over -100. it seems a common thing people would want to do but I cant get it to work. So trigger one condition then if the second condition is triggered open the position.

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

                            never use the words Buy or Sell in your naming schemes. Its just good practice.

                            Also, never name anything the same name.

                            As for the rest...
                            0_1628400391556_4a07426b-0433-41f0-8342-5d1d1ce82f64-image.png

                            Your logic is illogical.

                            The orange tab at the top is every tick. So every single time an order is placed across the broker, your EA is looking for all of these conditions in order at one time basically.

                            Logically you are saying, if no trades, true, go to next block.
                            CCI is below or equal to -100, if true
                            CCI cross above -100, if true
                            buy now.

                            Is that what you are trying to logically search for every tick? If so, how do you expect CCI to be below -100 and be true , then then a fraction of a second later cross over -100?

                            What seems to be common isn't so common when you try to logically write it out.

                            I would suggest an exercise like the peanut butter and jelly exercise. Give someone a knife, a jar of jelly, and peanut butter and 2 slices of bread. Now instruct them to make a sandwich but they must follow your very specific rules and can not assume anything...only what you tell them to do.

                            S 2 Replies Last reply Reply Quote 0
                            • S
                              SHUTCHIN last edited by

                              What I am trying to achieve is to activate a buy when the following conditions are met:

                              1. CCI value goes to -150 or less and then if this occurs
                              2. CCI crosses from below to above -100 activate a buy order
                              l'andorrà 1 Reply Last reply Reply Quote 0
                              • l'andorrà
                                l'andorrà @SHUTCHIN last edited by

                                @shutchin Your senod condition is the one triggering the order, so that should be searched for in the first place, then the CCI below -150 should confirm it. I would change its position in your block trees.

                                (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

                                (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

                                (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  SHUTCHIN last edited by

                                  Hi

                                  I tried to swap the order but it doesnt trigger any positions to open. I think the problem is that its treating the two conditions as "AND" now since they will not occur at the same time it will not work. What I need to tell it to do is if 1st condition met "THEN" if second condition met open trade

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SHUTCHIN @TipsyWisdom last edited by

                                    @tipsywisdom

                                    Hi, so if I dont use ontick what would I use?

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      SHUTCHIN @TipsyWisdom last edited by

                                      @tipsywisdom

                                      Also to explain what I need more clearly I am not saying to trigger when indicator below -150 and crossing -100 at the same time, that is obviously not logical. The indicator needs to pass below -150 before then at some stage in the future cross over the -100 level at which point the position is opened.

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

                                        @shutchin you need 2 conditions 1 above set to for example candle 1/2/3 ( whatever number you think) below -150, 2 below candle 0 above -100, you can have x, or <>, depends on what fits your position best.

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

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

                                          @jstap

                                          thanks, seems to be at least opening trades now following your advice, just need to play with the candle numbers to optimize. Appreciate your help

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

                                            @shutchin Your 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
                                            • 1 / 1
                                            • First post
                                              Last post

                                            Online Users

                                            M
                                            A
                                            M
                                            W
                                            E
                                            G
                                            K
                                            E
                                            A
                                            S

                                            17
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors