Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GBP Currencies not working in MTF strategy

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

    GBP Currencies not working in MTF strategy

    Hi,

    I did develop a Ninjascript Strategy which works quite well, but when I use a GBP Currency pair, it fails with an error like this:

    **NT** Error on calling 'OnBarUpdate' method for strategy 'KEL03MIN/31e1fca5251c4184a1cf99db39fde5f2': Der angegebene Schlüssel war nicht im Wörterbuch angegeben.

    (in english: The key was not found in the dictionary.)

    What can I do?

    Thank you

    #2
    Hello Grasgruen,

    Thank you for your post.

    Are you using a Dictionary class in your script?

    You maybe accessing your Dictionary to access a point in it where one does not exist quite yet.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      aja - thanks. Did find the error in an own dictionary.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by neoikon, 12-05-2024, 03:00 PM
      6 responses
      31 views
      0 likes
      Last Post Joeteryse  
      Started by FaaZer, Today, 01:59 AM
      0 responses
      11 views
      0 likes
      Last Post FaaZer
      by FaaZer
       
      Started by Vikuno1, 11-04-2024, 01:28 PM
      9 responses
      62 views
      0 likes
      Last Post FaaZer
      by FaaZer
       
      Started by kenz987, 08-28-2019, 08:44 AM
      8 responses
      1,048 views
      0 likes
      Last Post FaaZer
      by FaaZer
       
      Started by samish18, 08-15-2024, 02:52 PM
      9 responses
      79 views
      0 likes
      Last Post BarzTrading  
      Working...
      X