Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

padding

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

    padding

    good morning sir can you help me please
    I created this indicator that paints red and green on the chart when the conditions are met
    But the colors appear in the lower part of the graph within the other indicators
    How do I plot the colors only on the top chart only?
    Please help me and thanks

    Click image for larger version

Name:	1.png
Views:	130
Size:	10.0 KB
ID:	1228752 ​​
    Attached Files
    Last edited by jimmy12; 12-23-2022, 04:48 AM.

    #2
    Are you using BackBrushesAll - "A collection of historical brushes used for the background colors for all chart panels."?

    Comment


      #3
      Originally posted by Borgen View Post
      Are you using BackBrushesAll - "A collection of historical brushes used for the background colors for all chart panels."?
      Yes I use BackBrushesAll

      Comment


        #4
        Well, then that's your problem then. It says "for the background colors for all panels".

        Use BackBrushes instead:
        // Sets the color of the background on the current bar as blue
        BackBrushes[0] = Brushes.Blue;​

        Comment


          #5
          Originally posted by Borgen View Post
          Well, then that's your problem then. It says "for the background colors for all panels".

          Use BackBrushes instead:
          // Sets the color of the background on the current bar as blue
          BackBrushes[0] = Brushes.Blue;​
          Thank you very much, the problem has been resolved

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          68 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          151 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          162 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          100 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          288 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X