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 kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        28 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        17 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        24 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        137 views
        0 likes
        Last Post SalmaTrader  
        Working...
        X