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 algospoke, Yesterday, 06:40 PM
        2 responses
        19 views
        0 likes
        Last Post algospoke  
        Started by ghoul, Today, 06:02 PM
        3 responses
        14 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by jeronymite, 04-12-2024, 04:26 PM
        3 responses
        45 views
        0 likes
        Last Post jeronymite  
        Started by Barry Milan, Yesterday, 10:35 PM
        7 responses
        20 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by AttiM, 02-14-2024, 05:20 PM
        10 responses
        180 views
        0 likes
        Last Post jeronymite  
        Working...
        X