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 cmoran13, Yesterday, 01:02 PM
            0 responses
            27 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            18 views
            0 likes
            Last Post PaulMohn  
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            160 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            95 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            148 views
            2 likes
            Last Post CaptainJack  
            Working...
            X