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