Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backbrush Indicator Panel

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

    Backbrush Indicator Panel

    Hello,

    I know how to have backcoloring in pricepanel or in all panels but I dont know how to backcolor only in a panel below pricepanel (panel 2 or 3....)

    If this is not possibel then I have a workaround but this is not plotting even when I select in indicator parameters panel2.
    Draw.Diamond(this, "barspeed" + CurrentBar, true, 0, 0.5, Brushes.Magenta);

    I can plot it in pricepanel, but it doesn´t plot in lower indicator panel.


    Thank you!
    Tony

    #2
    Hello tonynt,

    Thank you for your note.

    If you have IsOverlay = false set in State == State.SetDefaults, BackBrush will then also refer to the background brush for the secondary indicator panel. There's also a parameter called DrawOnPricePanel that you would need to set to true to create Drawing Objects in the secondary panel.




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

    Comment


      #3
      Hello,

      thank you for your reply. Sorry for inaccurate translation and question maybe. I dont meen "...also refer to background brush for the secondary indicator panel". This works. I want to have backgrund brush from bars conditions in indicator panel below only and not brush in chart. I cant get this working.

      Thank you!
      Tony

      Comment


        #4
        Hello tonynt,

        Thank you for your reply.

        I'm attaching a very simple example of what I mean - the attached indicator uses BackBrush with IsOverlay = false to change the background in the indicator panel below only based on whether an EMA is rising or falling which could be modified to use bar conditions to change that secondary panel background.

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

        Comment


          #5
          Hello,

          it is working as expected when applying to primary dataseries. But as soon as I add in the indicator a volumetric dataseries and use this for calculating the values of indicator it does plot always also on panel 1. Is there a solution to avoid plotting in panel1 in this case (as added dataseries is not plotted in chart as well and just needed for calculations)?

          Thank you!
          Tony

          Comment


            #6
            Hello tonynt,

            Thank you for your reply.

            Would you be able to provide a code sample of what you're trying that doesn't seem to be working? Do you have IsOverlay set to true or false?

            Thanks in advance; I look forward to assisting you further.

            Comment


              #7
              Hello,

              thank you for your reply. When I modified my script to the minimum I found my error. Thank you for talking to me, very often from asking and replies I found errors in ther past (after searching for hours or days before)

              Best regards
              Tony

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              571 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              331 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
              549 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              549 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X