fxDreema

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

    Is it possible to change the value of an indicator using an EA?

    Questions & Answers
    3
    6
    1486
    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.
    • R
      rafaelgrecco last edited by

      Hi, is it possible to change the value of an indicator using an EA?

      I want my EA to change a "int" value used on a indicator.

      Thanks.

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

        Surely you can take that value and store it as a variable at some point of your EA? Modifying a variable is simple.

        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
        • R
          rafaelgrecco last edited by rafaelgrecco

          Hey roar,

          The problem is that this is not an indicator I use on some condition or anything like that. Here is what I need to change:

          0_1549896944221_indicator.JPG

          I need to change the "Step size" value. I'll use a value calculated from ATR.

          Changing this value will make the offline renko chart change, where my "real" EA runs. I am making a secondary EA just to control the renko size.

          If I put the value I want on a Variable, how do I apply that to the indicator?

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

            @rafaelgrecco
            I must admit I'm not expert on custom indicators, but can it be changed here, in the "My Indicators" menu?
            0_1549912427964_dd425a3c-54d4-4b50-9edd-f05eb58cbabe-image.png

            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
            • R
              rafaelgrecco last edited by

              roar, thanks for trying to help.

              I think I am not explaining correctly what I need to do (maybe it's not possible).

              I'll try to think of something else.

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

                Create a variable with some name. Then modify it. And then use it.
                That blue thing can be put there when you right-click on the input field. I used Moving Average for the screenshot, but it can be anything else. But ATR has a little bit different values.

                0_1550007052501_5142c291-ffe3-4c94-ad11-d823dc51bf78-image.png

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

                Online Users

                E
                J
                T
                J
                B

                17
                Online

                146.7k
                Users

                22.4k
                Topics

                122.6k
                Posts

                Powered by NodeBB Forums | Contributors