fxDreema

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

    AND command block

    Questions & Answers
    4
    21
    3045
    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.
    • G
      GeoFX last edited by GeoFX

      Guys, this might be kinda trivial, but i couldnt get it to work properly.. https://fxdreema.com/shared/iYg6ABDbd

      I try to make block #5 to pass only when block #3 is visible on M5 timeframe, but cant make it work. Simple as that. I tried with the flags but didt have any success..

      There is one general condition that should happen before 5th an 3rd block: - block#2 on the higher timeframe should signal once (at least one bar) for the start of the whole sequence.

      Block #3 indicator is attached here. Block #5 is a simple Keltner channel.

      Thank for your expert help!

      1_1577065693425_NRTR_ATR_STOP.mq4

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

        Hi! I'm not an expert on this but I just can't keep my mouth shut lol.

        You dont need the AND-block, and
        you dont need the "wait to pass".

        Also, I wouldnt use the "indicator is visible" and "indicator appear" blocks, they seem to behave somewhat unpredictable. If you can replace them with a simple condition block, for example, NRTR != 0 kinda means that the indicator is visible.

        To further troubleshoot your custom indicators, you can put them into a comment block, and then use visual backtest to see what values they give on each candle.

        Need small help? Tag me in your post
        Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

        1 Reply Last reply Reply Quote 0
        • G
          GeoFX last edited by GeoFX

          Roar, thank you for the "simple condition" instead of the ind visible/appear advice. I agree with u on that, although ind visible/appear options are working as well in my case.

          My question is more technical though: - how I can make a "sequence" :

          • block 2 appear once
          • wait for the block 3 to pass
          • !whilst! block 3(NRTR) is visible per each candle, wait for the block 5(Keltner price cross) to happen at least once
          • trade

          Thank you for help guys!

          roar 1 Reply Last reply Reply Quote 0
          • G
            GeoFX last edited by

            Re: AND coomand block

            Here is my thought process: here https://fxdreema.com/shared/lnPjj8b7c I've tried to add a "Once per bar" option, for the blocks with the NRTR and Keltner Channel, but is seems it is not bringing any change...

            Just to show you my thought process

            1 Reply Last reply Reply Quote 0
            • G
              GeoFX last edited by GeoFX

              "Every n bars" set to 1 bar doesnt help either https://fxdreema.com/shared/V2OxEm0Dc

              Now it works like: NRTR appeared/was once visible, but not any more and then Keltner cross happens and trade goes off. This is wrong sequence.

              What is needed is: Keltner cross can pass only !while! NRTR is visible

              1 Reply Last reply Reply Quote 0
              • roar
                roar @GeoFX last edited by

                @geofx said in AND command block:

                • block 2 appear once
                • wait for the block 3 to pass
                • !whilst! block 3(NRTR) is visible per each candle, wait for the block 5(Keltner price cross) to happen at least once
                • trade

                So in a nutshell, block 2 acts as a "trigger", and after the trigger has activated, the NRTR and keltner should pass simultaneously to open trade?

                This trigger can be done via a variable, i.e. use values 1 and 0 as the on/off position.
                Generally, if you want to create a sequence or anything else that requires a multi-candle process, variables are the key 🙂

                Need small help? Tag me in your post
                Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                G 1 Reply Last reply Reply Quote 0
                • G
                  GeoFX @roar last edited by GeoFX

                  @roar said in AND command block:

                  @geofx said in AND command block:

                  • block 2 appear once
                  • wait for the block 3 to pass
                  • !whilst! block 3(NRTR) is visible per each candle, wait for the block 5(Keltner price cross) to happen at least once
                  • trade

                  So in a nutshell, block 2 acts as a "trigger", and after the trigger has activated, the NRTR and keltner should pass simultaneously to open trade?

                  That is totally correct. NRTR and Keltner should pass simultaneously. but only after the block 2 appear once. The question is how to do that using generic approach and more simple tools provided here in FxDreema, without going into complex stuff.

                  As per variables: sounds like advanced math to me..) Im really trying to keep things as simpe as possible in my project. Certainly, learning the variables is thing from my "to do next" list. As of now, I still try to get used with more generic tools and commands.

                  Does anyone know how to do that using the simple commands like AND/OR etc?

                  1 Reply Last reply Reply Quote 0
                  • G
                    GeoFX last edited by

                    In this instance: https://fxdreema.com/shared/G5eH3IP1e AND does not behave as it suppose to, because we need to apply the "Wait to pass" function to both blocks, NRTR AND Keltner. Question is how to do that?

                    1 Reply Last reply Reply Quote 0
                    • l'andorrĂ 
                      l'andorrĂ  last edited by

                      Why not duplicating the structure and then connect the results at the end?

                      (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.

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        GeoFX @l'andorrĂ  last edited by

                        @l-andorrĂ  said in AND command block:

                        e
                        Hello mr @l-andorrĂ  ! You are that expert guy that help newbies like us) Merry Christmas!

                        I wish knew what you mean, but it sounds logical. To copy the whole structure leaving only the sell block? Im confused a bit. If it isn't difficult, could you be so kind to show an example?

                        1 Reply Last reply Reply Quote 0
                        • G
                          GeoFX last edited by

                          https://fxdreema.com/shared/aEwgeVwmd If this kinda what you mean...but it doesnt work(

                          1 Reply Last reply Reply Quote 0
                          • l'andorrĂ 
                            l'andorrĂ  last edited by

                            Sorry, I forgot that 'wait to pass' feature. Why do you exactly need it?

                            (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.

                            G 2 Replies Last reply Reply Quote 0
                            • G
                              GeoFX @l'andorrĂ  last edited by

                              @l-andorrĂ  dear friend, this simple setup comprised of 3 stages only:

                              Stage 1: - block 2 appear at least once on M15
                              Stage 2: - wait untill the block 3 and 5 to pass simultaneously on M5 at any given candle
                              Stage 3: - trade

                              https://fxdreema.com/shared/CVFT3HA9e

                              Im convinced: many Fxdreemers looking for a simple solution to easily construct similar setups where it is possible to apply "wait to pass" function to the "n" number of conditions. Question is how exactly to do that?
                              0_1577533277014_Screenshot_1.jpg

                              1 Reply Last reply Reply Quote 0
                              • G
                                GeoFX @l'andorrĂ  last edited by GeoFX

                                @l-andorrĂ  said in AND command block:

                                Sorry, I forgot that 'wait to pass' feature. Why do you exactly need it?

                                "Wait to pass" feature or any relevant functional alternative within FXDreema toolkit might have, acts as a confirmation for the signal from the higher TF. Since the signal from the higher TF doesnt mean the instant trade open, but only implies the potencial entry, we need a sort of the confirmation on the lower TF. The confirmation usually take some time to arrive as it doesnt happen same time with the higher TF signal. Therefore, we need this "Wait to pass" feature applied to all the indicators used for the confrimation stage.

                                Only in this hard to crack case this confirmation comes from two or more indicators.

                                Generally, the whole purpose of this topic is to find an answer how you can combine such postponed confirmation including more than two indicators. For instance, to be able to confirm the major higher TF signal after an indefinite period of time in future, by signals from 3 or even 4 indicators on the lower TFs

                                1 Reply Last reply Reply Quote 0
                                • l'andorrĂ 
                                  l'andorrĂ  last edited by

                                  I suggest you to create a bool variable controlling when the lower TF condition is met (same for any other relevant indicator). Then you can use those variables as a condition to be met in your current TF before the buy/sell now block. IMHO that would be much easier than masterinf the 'wait to pass' feature.

                                  (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
                                  • G
                                    GeoFX last edited by GeoFX

                                    ..Looks like I wont avoid those variables..)

                                    Dear @roar and @l-andorrĂ , happy NY and thank you both for the attention to this post!

                                    If not a big deal, could you pls, point me out at the tutorials to start to learn the variables, as of now, I do not even understand their nature. Thank you guys!

                                    roar 1 Reply Last reply Reply Quote 0
                                    • roar
                                      roar @GeoFX last edited by roar

                                      @geofx
                                      Here's a tutorial,
                                      https://fxdreema.com/tutorial/builder/constants-and-variables
                                      BUT its a bit clunky, I have never used it lol.

                                      Variable is basically a storage space, where you usually put a number that automatically changes according to your rules.
                                      Their creation happens here:
                                      0_1577629406942_f3cb6cdb-f234-4260-96eb-52885ec2fd3e-image.png

                                      Apply a variable to any input field by right-clicking it.
                                      Generally variables can be altered in two ways: with the "modify variables" block, or the quick adjust window attached to each block.
                                      Here's an example project where a variable keeps track of completed candles, and it resets when rsi >70.
                                      Run a visual backtest to see the variable chaning in value.
                                      https://fxdreema.com/shared/gmxHGco1d

                                      Need small help? Tag me in your post
                                      Need big help? https://www.fiverr.com/big_algo/automate-your-winning-strategy-in-mql4-or-mql5

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        GeoFX last edited by GeoFX

                                        Guys, happy NY! I perfectly nailed it without variables with this tutorial http://fxdreema.com/forum/topic/4664/flags on FLAGS. It was easier then i thought and it worked like a charm! I basically, Set the Flag to look for random amount of bars back on my Higher TF for my First Stage condition and that helped!

                                        0_1578248056937_Screenshot_2.jpg

                                        https://fxdreema.com/shared/NBKjHEZmb

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          trader.philipps @GeoFX last edited by

                                          @geofx Remember to set the flag back to false after eg. trade is opened!

                                          I like to share my knowledge, but expect the others to contribute as well.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            GeoFX @trader.philipps last edited by

                                            @trader-philipps no, I've forgot. Will do that right away. Thank you!

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

                                            Online Users

                                            J
                                            B
                                            A
                                            E
                                            R
                                            S
                                            B

                                            22
                                            Online

                                            146.7k
                                            Users

                                            22.4k
                                            Topics

                                            122.6k
                                            Posts

                                            Powered by NodeBB Forums | Contributors