Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is it possible to have a button that repaints all the bars?

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

    Is it possible to have a button that repaints all the bars?

    HI
    I am the author of ToggleVisibility.
    I have tried, unsuccessfully to get this type of operation to make bars coloured or uncoloured depending upon your indicator.
    My only working solution is to use

    SendKeys.SendWait("{F5}");

    Can anyone provide some pointers as I am genuinely stuck with this clunky solution?

    Edit : I should add I am using PlotBrushes to paint the bars.
    Last edited by Mindset; 05-27-2024, 08:08 AM.

    #2
    Hello Mindset,

    Thank you for your post.

    Are you calling ForceRefresh() to force the chart visuals to update during your button click event?



    I am also attaching a sample script which demonstrates changing the plot colors from transparent to another color via a button press.

    Please let us know if we can assist further.
    Attached Files

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    174 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    328 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    252 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    355 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    181 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Working...
    X