Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

My Custom Drawing tool disappears when switching instruments...

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

    My Custom Drawing tool disappears when switching instruments...

    Scenario:
    - I place my custom drawing tool on the chart
    - I switch from /ES to /CL (for example)
    - I switch *back* to /ES
    - My custom drawing tool is gone (it should remain "sticky" to my chart/instrument)

    What piece of code in an existing drawing tool like @Lines.cs will correct this behavior?

    #2
    Hello,

    Thank you for reporting this. Unfortunately, I'm not seeing the same on my end. When I switch instruments, the object disappears. Then when I switch back to the original instrument, the object reappears. Can you tell me the exact process you are using to switch instruments, the difference intervals you are switching to, and which object you are drawing? I was using the Instrument Overlay Selector (typing directly into the chart), a Line drawing object, and using a 1-min interval for both instruments.
    Dave I.NinjaTrader Product Management

    Comment


      #3
      Actually I just figured it out, the part of code that allows this behavior is in:
      Code:
      public static partial class Draw {}
      FYI for other devs

      I do have another issue, can I email you a video?

      Comment


        #4
        Yes, feel free to send it to platformsupport [at] ninjatrader [dot] com, and one of our Support or NinjaScript specialists will intercept it.
        Dave I.NinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        668 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        377 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        110 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        575 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        580 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X