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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    60 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    39 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    21 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    23 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    51 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X