Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom T&S List Coding

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

    Custom T&S List Coding

    Hello

    I'm trying to code a custom indicator for NT8 with separate window but don't know how. Indicator is gonna be a custom Aggregated T&S List.

    I understand the request may sound basic but anyone to help with the code for a SEPARATE INDICATOR WINDOW THAT HAS 6 COLUMNs?

    I'll handle the variables & logic part but please help with the structure.

    Thanks
    Last edited by Uhumm; 03-03-2022, 08:22 PM.

    #2
    Hi, thanks for writing in. This subject has been discussed in the past on this topic:
    https://ninjatrader.com/support/foru...egy#post774548 (example is included here)

    Kind regards,
    -ChrisL

    Comment


      #3
      Originally posted by NinjaTrader_ChrisL View Post
      Hi, thanks for writing in. This subject has been discussed in the past on this topic:
      https://ninjatrader.com/support/foru...egy#post774548 (example is included here)

      Kind regards,
      -ChrisL
      Hello ChrisL

      Thanks for ur reply. I searched Ninjatrader forum among related topics related to what I wanna code and found out having it in a separate window is gonna need more coding than if otherwise.

      So, I'm revising my question to that how can I do the same for DOM Columns and have T&S List Aggregated there?

      Comment


        #4
        Hi, thanks for your reply.

        To spawn a new window from the DOM window it would be the same WPF code. The DOM column script gives you an OnRender method where you can render any kind of data if you do not want to spawn a new window. Here is a small example DOM column using OnRender.

        I am developing a superdom column that draws thousands of rectangles, but this approach is too slow. Instead of drawing each rectangle to the columns drawingcontext individually in OnRender, how can I create a bitmap outside of on render, paint the necessary rectangles, save the bitmap, and draw the bitmap once in OnRender? I


        Kind regards,
        -ChrisL

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        80 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        40 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        63 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        63 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