Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Serialization

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

    Strategy Serialization

    Hi, I'm trying to debug the XML Serialization of a strategy (with a generic List)... but I can't find the XML file where the strategies are serialized... where are they kept?
    Jeremytang
    NinjaTrader Ecosystem Vendor - Shark Indicators

    #2
    Hi Jeremy,

    These are stored in:
    My Documents\NinjaTrader 7\templates\strategy
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Empty

      Thanks for the reply Ryan,

      I don't see anything in that directory. Does that mean the serialization failed? I don't see any indication of that happening in the logs.

      Jeremy
      Jeremytang
      NinjaTrader Ecosystem Vendor - Shark Indicators

      Comment


        #4
        These files relate to default strategy settings. They will appear only when you first Right Click > Save as Default for a given strategy. You have this available whenever you are trying to run a strategy.

        Is this the type of property you are trying to serialize or something else?
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          When I create a strategy (or attach it to a chart) under the "Strategies" tab, the strategy has to save my parameter setting somewhere (I'm assuming via XML serialization); so that when I quit NT and reload it, it's reloaded with all my strategies where I left them, including the parameter settings I've chosen to use.

          Where does NT stash these serializations?

          Jeremy
          Jeremytang
          NinjaTrader Ecosystem Vendor - Shark Indicators

          Comment


            #6
            They're stored here:
            My Documents\NinjaTrader 7\templates\strategy

            You must first Right Click > Save as Default when setting up the strategy.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            650 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            370 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            109 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            574 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            577 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X