fxDreema

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

    Any way to do this with indicators?

    Questions & Answers
    2
    4
    1512
    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.
    • Abade69
      Abade69 last edited by

      Any of the following:

      A) Hide them.
      B) Change their color.
      C) Insert/remove them from the chart.

      Using a key stroke, condition, command from within the EA, and without changing templates (as it resets the variables and screws everything). I know i can do this with objects. Anyone?

      1 Reply Last reply Reply Quote 1
      • Abade69
        Abade69 last edited by

        .....................

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

          not sure if I help you, it needs few lines of code ...

          you can use global variables to communicate between EA and indicator, and in indicator code you set few "options" based on global variables for indicator appearance
          https://docs.mql4.com/customind/setindexstyle
          SetIndexStyle(0, DRAW_NONE, EMPTY, EMPTY, CLR_NONE);

          or as you mentioned, using templates ... standard it is problem, but you can use my cheatsheet for saving variables into file
          https://fxdreema.com/forum/topic/5164/example-save-variables-into-file-and-read-them-back-advanced

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

          Abade69 1 Reply Last reply Reply Quote 1
          • Abade69
            Abade69 @miro1360 last edited by

            @miro1360 Thank you as always miro, i am going to check them out 🙂 wish you have have a nice day

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

            Online Users

            E
            M
            F
            E
            T
            S
            A
            M
            M
            E
            C
            M
            L
            F
            F

            29
            Online

            146.6k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors