fxDreema

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

    how to apply an indicator to another indicator?

    Questions & Answers
    6
    9
    5084
    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.
    • P
      ptejerina last edited by

      I made a custom indicator that has ATR and its moving average. Hope this helps others.
      0_1496012268230_ma_atr.mq4

      C 1 Reply Last reply Reply Quote 1
      • J
        jivetrader last edited by

        i know how to apply a moving average onto another indicator in MT4. how do i do this in fxdreema? must it be programmed in the custom indicator or is there a series of blocks that would do the trick?

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

          This is not possible with blocks. At least not in Condition, because it allows only 1 indicator to be selected on a side, while indicator over indicator - this is two indicators.
          And by the way I'm not sure if that is possible in the EA. I know that function: http://docs.mql4.com/indicators/imaonarray but all the examples with it are for some custom indicators 😕

          1 Reply Last reply Reply Quote 0
          • C
            camhawk last edited by

            Are you able to demonstrate how this can be done/achieved?

            Been running an FxDreema Course since 2017. So, now in 2022 I'm thinking I should really let you fine folks in this forum know about it ;-)

            I teach my build and debug strategies that reduce blocks, increase development speed and enable complete flexibility. I teach you how you can build almost anything you dream up with just a few of the blocks.

            To find out more visit https://tradingnut.com/rbcfullfxdreemacourse/

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

              I have no idea to be honest, I never tested this function and I'm not even 100% sure if this is the right function 🙂

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

                I was looking at iMaOnArray(), but I don't think that it's a good idea to use it into an EA. This function does not change anything on the chart, it will not even create it's own Moving Average. This function just does some calculations in the code only. So, even if it works in the EA, there will be no visual representation of what is going on, no MA line will be created on the chart.

                I was looking at some topic in mql4.com and there is a custom indicator that can be used as a template: http://forum.mql4.com/45803/page2#1010508
                I know that this requires a little bit of programming, but at the end it will at least print the actual line and everything can be seen.

                1 Reply Last reply Reply Quote 0
                • C
                  CPxiom @ptejerina last edited by CPxiom

                  @ptejerina Thank you, really great indicator. Much needed. THANKS!!! 🙂

                  How can this be done? Does the mt4 wizard help?
                  Also, ... the indicators have to be MT4 default, or it can be done with custom indicators as well.
                  Indicator on indicator is very requested, so any help would be great.

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

                    if you have source code of both indicators you want to use, you can calculate the first one, and then use it's buffer for the source of the other indicator, within one indicator file I mean. this required some basic coding knowledge tho

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      CPxiom @Spuzy last edited by

                      @spuzy Thanks 🙂 Great to know the steps, and when want to do one, will look into the details of coding. Thanks.

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

                      Online Users

                      L
                      S
                      A
                      F

                      12
                      Online

                      146.7k
                      Users

                      22.4k
                      Topics

                      122.6k
                      Posts

                      Powered by NodeBB Forums | Contributors