Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Drawing Tool Tile give an error message with a custom drawing tool

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

    Drawing Tool Tile give an error message with a custom drawing tool

    Hi Team,

    I have a custom drawing tool. When I apply this drawing tool with the Drawing Tool Tile I get an error message in the log tab:
    Error while loading Drawing tool NinjaTrader.NinjaScript.DrawingTools.******.Levels : System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(T Key key) at NinjaTrader.NinjaScript.Indicators.DrawingToolTile .CreateControl()

    Any idea how can be solved?


    #2
    Hello Protech,

    Thank you for the post.

    I wanted to clarify here, does this happen with all custom tools you have or just the single tool? I am trying to determine if this relates to the way your tool is coded or if this happens in general with any custom tool.

    I have one custom drawing object on my end that I tried on the chart with the TIle but did not see an error. Is there a specific set of steps that you follow to see that error?

    The error its self is not very helpful in explaining what may have happened other than there was some error with a collection.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Hi NinjaTrader_Jesse

      Only with this single tool. I have others and I don't get this error. I will try to investigate deeper. Thank you for your help.

      Comment


        #4
        Hello Protech,

        Thanks for confirming. If you are able to locate the syntax causing the error and are not sure why please post a sample and we can work from that to find a solution.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sofortune, Today, 10:28 AM
        4 responses
        8 views
        0 likes
        Last Post sofortune  
        Started by Haiasi, 04-25-2024, 06:53 PM
        6 responses
        82 views
        0 likes
        Last Post joselube001  
        Started by gaz0001, Today, 10:09 AM
        1 response
        7 views
        0 likes
        Last Post Red_70
        by Red_70
         
        Started by DawnTreader, 05-08-2024, 05:58 PM
        11 responses
        41 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by tkaboris, Today, 06:27 AM
        4 responses
        13 views
        0 likes
        Last Post tkaboris  
        Working...
        X