Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot colours in DOM

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

    Plot colours in DOM

    Hi - Is it possible for a plot to change it's colour, when used in the DOM? Plotbrush changes do not seem effective, though the plots show OK.

    Thanks.

    #2
    Hello pjsmith,

    Thanks for your post.

    PlotBrushes cannot be used to update the plot brush in a SuperDOM window. It would be possible to change the plot brush through using Plots[0].Brush, however.

    For example: Plots[0].Brush = Brushes.White;

    Documentation reference for the Plots collection is linked below.

    Plots - https://ninjatrader.com/support/help...n-us/plots.htm

    Please let us know if we can be of further assistance.

    Comment


      #3
      Thanks. Yes, but that changes the colour for the whole plot, rather than just the single plot for the bar I think? I would be able to use this however, if I could tell the indicator was running on the dom, rather than on a chart. I've asked in the past though, and I believe this is not possible? The plot on this indicator changes colour when it's going up/down, and that history on a chart needs to be kept. I could make the indicator behave differently, if it knew it was running in the dom.

      Comment


        #4
        Hello pjsmith,

        It would be recommended to create a separate indicator that would have specific uses for the SuperDOM window. While it may be possible to identify which window the script is attached to, we do not offer a locked in and supported way to do so.

        We do have a feature request to support using PlotBrushes to update plots in the SuperDOM window. The ticket ID is SFT- 2578 and I have submitted a vote on your behalf.

        We collect interest in feature requests before determining if the feature should be implemented. For that reason we cannot offer an ETA. Upon implementation, the number for the ticket ID can be publicly found in the Release Notes page of the help guide.

        Release Notes - https://ninjatrader.com/support/help...ease_notes.htm

        If there is anything else we can do to help, please let us know.

        Comment

        Latest Posts

        Collapse

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