Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Change Plot color in Market Analyzer

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

    Change Plot color in Market Analyzer

    Hi, I use
    Code:
    Plots[0].Pen.Color = Color.Red;
    to change the plot color for an indicator. This works when I have it on the chart, but when I add the indicator plot to a market analyzer window, it does not show the plot colors I set in the code. How do I colorize plots in market analyzer? foreground, and background.

    I know I can apply alert colors based on basic operators, but these calculations need to be done by code.

    Thanks

    #2
    Tight Face,

    You cannot programmatically set this for the Market Analyzer. Plot colors are for charts.

    If your calculations need to be done by code I suggest you create an intermediary plot that takes on predefined known values when certain conditions are true. Say, when you want to go long, set the plot to 1; when you want short, set the plot to -1. Then in the cell conditions for the Market Analyzer you can compare it directly to the known value states.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      understand. thanks. Can I elect the ability to have programmatic control of cell formating for NT7?

      Comment


        #4
        Thank you for the suggestion. We will add it to the list of future considerations.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

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