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 elirion, Today, 10:03 PM
        0 responses
        1 view
        0 likes
        Last Post elirion
        by elirion
         
        Started by RaddiFX, Today, 09:55 PM
        0 responses
        3 views
        0 likes
        Last Post RaddiFX
        by RaddiFX
         
        Started by Trader146, 03-29-2024, 01:22 PM
        4 responses
        24 views
        0 likes
        Last Post Trader146  
        Started by elirion, Today, 09:48 PM
        0 responses
        3 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by set2win, 08-04-2021, 09:23 AM
        39 responses
        1,001 views
        0 likes
        Last Post WaleeTheRobot  
        Working...
        X