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 nleitman, Today, 11:46 AM
        4 responses
        14 views
        0 likes
        Last Post nleitman  
        Started by Russ Moreland, 04-24-2024, 12:54 PM
        2 responses
        17 views
        0 likes
        Last Post JosephDavidsona  
        Started by truepenny, Today, 03:45 AM
        5 responses
        25 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Started by cmtjoancolmenero, Today, 01:09 PM
        0 responses
        3 views
        0 likes
        Last Post cmtjoancolmenero  
        Started by PaulMohn, 05-19-2022, 11:40 AM
        11 responses
        541 views
        0 likes
        Last Post lawyse
        by lawyse
         
        Working...
        X