Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Customize price marker color to an indicator

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

    Customize price marker color to an indicator

    Hi, I was searching in all forum about this but I found nothing.
    So, I'm asking if someone can help me with some code to customize the price marker color to any indicator, please.

    For example I found this code to change the background color in this forum:
    Code:
    ChartBars.Properties.PriceMarker.Background = Brushes.Black;
    //Or
    ChartControl.PrimaryBars.Properties.PriceMarker.Background = Brushes.Black;
    but this affect the price marker color for the instrument price panel, the indicator price marker haven't changes.
    I need this result but for the price marker of the indicator.

    Thank you in advance!

    Click image for larger version

Name:	Color PriceMarker.png
Views:	193
Size:	10.8 KB
ID:	1207306

    #2
    Hi Jose, thanks for posting. The color of the price market for an indicator is the same value as the PlotBrushes collection. You can vary the plot color but this would also change the color of the histogram. There is nothing documented for an indicator's price marker, so the value might be available, but you would need to look through the IntelliSense in "this."

    Kind regards, -
    ChrisL

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X