Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

A way to turn on/off indicator's color without calling indicators window (Ctrl+I)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    A way to turn on/off indicator's color without calling indicators window (Ctrl+I)

    I was wondering if there is an example on how to turn on/off an Indicators color without having to open the indicator's window from the chart (Ctrl+I)
    Thank you very much!!
    FVJ

    #2
    Hello efeuvejota01,

    Thank you for your post.

    You'd need a button to click to turn it on and off. Take a look at this example script - it plots several different EMA lines you can turn on and off by clicking the buttons on the chart.

    Please let us know if we may be of further assistance to you.
    Attached Files

    Comment


      #3
      Thank you Kate!!

      Comment


        #4
        In the case of a Zigzag, my guess is that the drawing objects has to be edited also.. am I correct??

        Comment


          #5
          Hello efeuvejota01,

          Thank you for your reply.

          ZigZag doesn't use drawing objects, it uses custom rendering using SharpDX to render those lines, so that one's a little tricky. But you're in luck here, because it includes a plot that it uses the color of to render the Zig Zag. You'd have to call it from an indicator and have the button update the ZigZag plot color. Take a look at the attached script - it's pretty simple.

          Please let us know if we may be of further assistance to you.
          Attached Files

          Comment


            #6
            Thank you very much!!!
            FVJ

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            648 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            369 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            108 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            572 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            573 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X