fxDreema

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

    HOW TO DEFINE COLOUR CHANGING INDICATOR IN EA?

    Questions & Answers
    3
    8
    4803
    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.
    • tcanuto
      tcanuto last edited by

      Hello fxDreema. All right?
      Is it possible to change to the color none? Or change the type to DRAW_NONE?

      1 Reply Last reply Reply Quote 0
      • Y
        YOSEF last edited by

        HELLO . I WANT TO BUILD A SIMPLE EA THAT OPENS A TRADE WHEN THE INDICATOR TURNS PURPLE AND CLOSES IT AND OPENES THE OTHER DIRECTION WHEN IT TURNES GREEN. HOW CAN I DO THIS HERE ON FXDREEMA?

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

          Try the block named "Indicator appear", but first find which indicator buffers are responsible for these "colors". Here is more for indicators: https://fxdreema.com/documentation/gett ... indicators and https://fxdreema.com/documentation/proj ... indicators

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

            @tcanuto What? You can change everything inside the file of the indicator.

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

              Explaining better: what I meant is to change the color of the indicator in the Strategy Tester, since it is possible to change the properties and colors of the chart objects.

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

                @tcanuto I have no idea how to do that. I was asking myself this question since the beginning, but I don't know any function to do that. Moving Average always appears red, but in iMA() there is no parameter for the color.

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

                  @fxDreema Well ... this would be an alternative. I believe it is possible, but I do not know how to do it.

                  Perhaps the most accurate solution is this: http://fxdreema.com/forum/topic/4433/change-the-indicator-color-in-the-visual-strategy-tester/3

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

                    Hiding indicator is possible in MT4, but not in MT5 I believe. There is no block to do that. I don't want to add functionality only for MT4 or MT5 alone. So the way is to use the MQL4 functions manually in "Custom MQL4 code"

                    Changing colors is not possible at all, as long as I know.

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

                    Online Users

                    N
                    J
                    S
                    K
                    A
                    K
                    M
                    R
                    D
                    S

                    17
                    Online

                    146.7k
                    Users

                    22.4k
                    Topics

                    122.6k
                    Posts

                    Powered by NodeBB Forums | Contributors