Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy want run.

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

    Strategy want run.

    Hello . I have automated strategy which I can back test and its runs well on SIM but when I connect to real account its goes off and I getting this ___ The object was not in correct state .
    How can I fix this ?
    Attached Files

    #2
    Hello vit007,

    The error is a SharpDX error which is rendering in OnRender().

    Does the strategy override OnRender()?

    Is the strategy adding an indicator with AddChartIndicator() that renders in OnRender()?

    Are you reproducing the error with the latest release 8.0.27.1?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Looks like the strategy goes off when its time to execute order , and its will take order on SIM but not on live account . were should I look for a solution . ??

      Comment


        #4
        Hello vit007,

        For SharpDX errors, look for logical errors in OnRender().

        Debug the script by using prints and / or comments and find the exact line of code causing the error.

        Below is a link to a forum post that demonstrates using prints to understand behavior.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        110 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        59 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        37 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        41 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        78 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X