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 Brevo, Today, 01:45 AM
        0 responses
        3 views
        0 likes
        Last Post Brevo
        by Brevo
         
        Started by aussugardefender, Today, 01:07 AM
        0 responses
        3 views
        0 likes
        Last Post aussugardefender  
        Started by pvincent, 06-23-2022, 12:53 PM
        14 responses
        239 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by TraderG23, 12-08-2023, 07:56 AM
        9 responses
        384 views
        1 like
        Last Post Gavini
        by Gavini
         
        Started by oviejo, Today, 12:28 AM
        0 responses
        6 views
        0 likes
        Last Post oviejo
        by oviejo
         
        Working...
        X