Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SuperDOM Indicator

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

    SuperDOM Indicator

    Hello guys,

    I am new here and I am trying to make an indicator but I am in doubt, I would like to know if anyone can help me.

    I want to color a price range in SuperDOM, using S&P as an example I want to color every number with final 00. Has anyone done anything like that?

    Thank you,

    Attached Files

    #2
    Hello vogelr,

    Welcome to the NinjaTrader support forum.

    I am not aware of any item that exists that does this already, or a way to color the whole DOM cell actually.

    You can run an indicator which places plots in the cells but that does not color the entire cell, that is likely the closest possibility to what you are asking. An indicator could have various plots, and if a condition is true it could plot at the target value which would show up in the cell.

    A SuperDomColumn could make fully filled in cells but that would be next to the actual DOM as a new column, so if that is OK a column is also another option.


    I look forward to being fo further assistance.

    Comment


      #3
      Thanks for the answer!

      So I can create a new column in SuperDOM and then I create my rules with a loop.

      Any suggestions on where to start? MarketDepth is the way?

      Thank you for your consideration/attention.

      Comment


        #4
        Hello vogelr,

        Thank you for the post.

        I would suggest looking at the existing columns as a starting point. The existing columns show a general approach at accessing the data and rendering. The OnRender override is used to draw in the superdom panel so you can draw what you would like.

        In the NinjaScript editor, you can expand the "SuperDomColumns" node to view the existing columns.

        To color prices, I dont believe you would need anything except the OnMarketData and OnRender overrides to gather prices and then render the data as needed. The APQ shows using OnMarketData and Depth in its code and also rendering.

        I look forward to being of further assistance.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        81 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        42 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        66 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        54 views
        0 likes
        Last Post CarlTrading  
        Working...
        X