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 Nyman, Today, 02:27 PM
        0 responses
        9 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by qewcool, Today, 10:26 AM
        2 responses
        24 views
        0 likes
        Last Post qewcool
        by qewcool
         
        Started by RISKYBUSINEZZ, Today, 09:07 AM
        4 responses
        33 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by tkaboris, Today, 08:30 AM
        3 responses
        19 views
        0 likes
        Last Post tkaboris  
        Started by DerkWehler, 07-15-2024, 11:35 AM
        19 responses
        57 views
        0 likes
        Last Post DerkWehler  
        Working...
        X