Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using OnStartUp() doesen't give perf. datas

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

    Using OnStartUp() doesen't give perf. datas

    Hello NT support,

    I've found an weird behavoir of Strategy analyser. When I use OnStartUp() method in an strategy then won't gives me the solved datas as can be seen in the attached picture. But there are the correct trades and executions but there isn't Performance datas. In the help I can't find any information about using OnStartUp() when I going to use SA. What are the rules of it, or it is an error? I attached the built in strategy amended with OnStartUp() method.
    I'm usintg the latest NT7.

    Thanks Tom
    Attached Files

    #2
    Hi Tom,

    I see these same results with your strategy. The issue can be seen not just with OnStartup(), but when using the specific properties you you're using. As these are not supported, our only recommendation here is not to use them here.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Ok. Thanks. I know I get these same results with my strategy but I wanted use to optimation the value and I haven't glue where was the problem in my logic.

      Comment


        #4
        You should be able to use optimization, but will want to remove the ChartControl properties from OnStartUp().
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        77 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        45 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        27 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        63 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X