Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

2 different BackBrushes

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

    2 different BackBrushes

    Good day,

    the script colors the background depending on two independent logics with two different colors. In order to undo the coloring in the case the condition changes back in the same bar, I set BackBrush = null; once the conition isn't anylonger true. But therefore the background gets only colored depending on the logic (with that color) that gets called last. Even if I use BackBrushes[0] instead, the first logic has no effect on the background.
    Is there any workaround except for only calling BackBrush on the new bar?

    Greetings

    #2
    Hello seykool,

    Unfortunately I am not certain I understand the question as it was worded. It seems like you are asking how to conditionally set the backbrush, is that correct? If you can provide a different description of the goal that will help to get a more specific answer.

    Comment


      #3
      Hi Jesse,

      I realized it isn't possible anyways since there are no BackBrush plots or the possibility to make it an object.
      I extended the second logic so that it can't disable the first logic.

      Greetings

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      579 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      334 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      551 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X