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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    83 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    23 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    31 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    31 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X