fxDreema

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

    Daisy-Chaining Indicators

    Questions & Answers
    2
    15
    3224
    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.
    • D
      danerius last edited by

      Hi

      Im trying to connect the values from a custom made indicator to control values in regular MA Indicator. Im guessing I need a Variable or Constants but thats how far Ive gotten.

      Any examples of how to go about this?

      Thanks and best regards /danerius

      1 Reply Last reply Reply Quote 0
      • D
        danerius last edited by

        Like so? /danerius

        0_1530456566168_Skärmavbild 2018-07-01 kl. 16.48.58.png

        1 Reply Last reply Reply Quote 0
        • M
          miro1360 last edited by

          do you need moving average from that indicator? I think you must have moving average buffers directly in that indicator ...

          0_1530469084432_miro1360_test_1.2_2xMA.mq4

          0_1530469106973_92fba11d-c61a-4b06-a5a3-8383489c1637-image.png

          Between trading and gambling is a very small gap, be careful.

          1 Reply Last reply Reply Quote 0
          • D
            danerius last edited by

            Hello Miro

            Thanks for the Indicator. Now precisely what I had in mind. I made a flow chart to illustrate the idea. The Custom Indicator is outputting values on every candle. Those values are going to control parameters in a Condition such as a Moving Average Period.

            The value produced in the Condition is going to be displayed in the main window.

            Many thanks and best regards /danerius

            0_1530472199363_Skärmavbild 2018-07-01 kl. 21.08.24.png

            1 Reply Last reply Reply Quote 0
            • M
              miro1360 last edited by miro1360

              sure, check this:

              https://fxdreema.com/shared/BkhCaSnW

              here are 2 moving averages, one is static (yellow) with period 200 and the second (purple) is with dynamic period controlled by RSI indicator

              0_1530479271490_762fe81c-c5ad-4ffb-a023-de2182afefa3-image.png

              note, there can be problem with cross detection

              note2: rsi is not good example 😄

              Between trading and gambling is a very small gap, be careful.

              M 1 Reply Last reply Reply Quote 0
              • D
                danerius last edited by

                Hello Miro

                Cool. Will check this in detail asap 🙂

                Best regards /danerius

                1 Reply Last reply Reply Quote 0
                • D
                  danerius last edited by

                  Hello

                  Cant get it to work. At all. Not sure how you share projects here so Ive included a screen dump. Best regards /danerius

                  0_1530568656672_Skärmavbild 2018-07-02 kl. 23.56.22.png

                  1 Reply Last reply Reply Quote 0
                  • M
                    miro1360 last edited by

                    you have something weird with custom indicator, it has not parameters, there should be parameters
                    ... note, that output data from indicator are small and value can be 0.xx, you should avoid null value as input parameter for period ....

                    Between trading and gambling is a very small gap, be careful.

                    1 Reply Last reply Reply Quote 0
                    • M
                      miro1360 last edited by

                      you can adjust result by *10 and than this is how it looks like:

                      0_1530569609997_02714247-f32e-49b5-90ba-cb8a929a8b79-image.png

                      Between trading and gambling is a very small gap, be careful.

                      1 Reply Last reply Reply Quote 0
                      • D
                        danerius last edited by

                        Ohh... I see...

                        I got that working. But the Output Buffer field isnt red as in your screen dump? And the line options wont show up as an option. Ive included screen dumps

                        The output from My Indicator should be somewhere between 1-400. It might drop below zero. Non intentionally - but it might happen. Will that ”break” the Indicator?

                        One easy remedy would be to add a number to the formula. Like (formula)+1. So you'll always stay above zero.

                        Best regards /danerius

                        0_1530632670254_Skärmavbild 2018-07-03 kl. 17.31.40.png 2_1530632670254_Skärmavbild 2018-07-03 kl. 17.33.14.png 1_1530632670254_Skärmavbild 2018-07-03 kl. 17.33.09.png

                        1 Reply Last reply Reply Quote 0
                        • M
                          miro1360 last edited by

                          I am not sure why is that white and not red, I used this version of indicator:

                          0_1530634608823_miro1360_test_1.2.mq4

                          you are right, it can be increased by +1 🙂

                          Between trading and gambling is a very small gap, be careful.

                          1 Reply Last reply Reply Quote 0
                          • D
                            danerius last edited by

                            Hi

                            Tried it with that Indicator and got the Red Input Field to work

                            Still no lines on the chart though. And no Line options in the settings

                            Is it generally a good idea to start fresh with fxdreema-projects or can you modify existing ones without left-over-code possibly messing things up?

                            Best regards /danerius

                            0_1530651838385_Skärmavbild 2018-07-03 kl. 23.00.51.png 0_1530651842767_Skärmavbild 2018-07-03 kl. 23.01.06.png

                            1 Reply Last reply Reply Quote 0
                            • M
                              miro1360 last edited by miro1360

                              now I probably know what are you trying to do ....you are trying to generate indicator from fxdreema 😄 - it is not working this way, fxdreema can not generate indicators, only experts, and experts can not be used as indicators (in indicators folder, but they can work as some indicator - as experts)

                              Between trading and gambling is a very small gap, be careful.

                              1 Reply Last reply Reply Quote 0
                              • M
                                miro1360 @miro1360 last edited by

                                @miro1360 said in Daisy-Chaining Indicators:

                                sure, check this:

                                https://fxdreema.com/shared/BkhCaSnW

                                here are 2 moving averages, one is static (yellow) with period 200 and the second (purple) is with dynamic period controlled by RSI indicator

                                0_1530479271490_762fe81c-c5ad-4ffb-a023-de2182afefa3-image.png

                                note, there can be problem with cross detection

                                note2: rsi is not good example 😄

                                and this is EA from tester, not indicator ...

                                Between trading and gambling is a very small gap, be careful.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  danerius last edited by

                                  Hi

                                  I really did think that I could make an Indicator in fxdreema 😄

                                  Anyways... I did try and modify the RSI/200MA Expert. No success.

                                  /danerius

                                  0_1530742159867_TestX1 2.01.ex4

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

                                  Online Users

                                  F
                                  H
                                  M
                                  H
                                  A

                                  10
                                  Online

                                  146.7k
                                  Users

                                  22.4k
                                  Topics

                                  122.6k
                                  Posts

                                  Powered by NodeBB Forums | Contributors