Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    JimNinjaTrader Customer Service

    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.
        JimNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by pmachiraju, 11-01-2023, 04:46 AM
        8 responses
        147 views
        0 likes
        Last Post rehmans
        by rehmans
         
        Started by mattbsea, Today, 05:44 PM
        0 responses
        5 views
        0 likes
        Last Post mattbsea  
        Started by RideMe, 04-07-2024, 04:54 PM
        6 responses
        33 views
        0 likes
        Last Post RideMe
        by RideMe
         
        Started by tkaboris, Today, 05:13 PM
        0 responses
        5 views
        0 likes
        Last Post tkaboris  
        Started by GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,282 views
        0 likes
        Last Post Leafcutter  
        Working...
        X