Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT errors

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

    NT errors

    Hi,
    If I make a lot of changes in a strategy and at first compilation get a lot of errors and then correct them, I get the attached error.
    The solution that I found to overcome this, I rename the strategy outside of NT (in NT this doesn't work) and then the compilation goes without a problem.
    I think there should be a better solution.

    Baruch
    Attached Files

    #2
    baruch,

    Here is a forum post on this : http://www.ninjatrader.com/support/f...ad.php?t=45139
    Last edited by NinjaTrader_AdamP; 11-27-2011, 11:41 AM.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      What for an answer is this?
      You point to a year old thread, without resolution.

      Comment


        #4
        Baruch,

        It looks like there are a couple resolutions for this at the following links.

        General platform technical support for NinjaTrader 7.




        People have tried repairing the DB, as well as uninstalling/reinstalling the indicator. Ill also ask development Monday about this to see if they have any known solutions.

        Please also ensure all DataSeries are set to be private. I.e.

        private DataSeries mydataseries;
        Last edited by NinjaTrader_AdamP; 11-27-2011, 11:48 AM.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Adam,
          You didn't read or understand my problem and solution.
          I'll say it again: To correct this, I rename the strategy outside of NT and thats it!!!

          Comment


            #6
            Baruch,

            Serialization is the process of converting complex objects into stream of bytes for storage. Deserialization is the reverse process.

            Just doing some quick research :

            Only a few error conditions lead to exceptions during the deserialization process. The most common ones are:
            • The name of the root element or its namespace did not match the expected name.
            • An enumerated data type presented an undefined value.
            • The document contained illegal XML.


            My suggestions to you from before mostly deal with the first and second parts.
            Adam P.NinjaTrader Customer Service

            Comment


              #7
              Adam,
              Can you tell me how renaming the strategy can correct any of the problems you say I may have?

              Comment


                #8
                Baruch,

                Renaming a strategy is similar to reinstalling it since it has to be recompiled. This is a solution that was noted in the links I provided. How exactly are you renaming it? Are you just renaming the .cs file itself? Inside each .cs file there is a name that must match the .cs file name itself. Without having access to your strategy itself, its difficult to pinpoint exactly what is causing this issue. If you provide it I can look closer.
                Adam P.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by ZenCortexCLICK, Today, 04:58 AM
                0 responses
                1 view
                0 likes
                Last Post ZenCortexCLICK  
                Started by sidlercom80, 10-28-2023, 08:49 AM
                172 responses
                2,279 views
                0 likes
                Last Post sidlercom80  
                Started by Irukandji, Yesterday, 02:53 AM
                2 responses
                17 views
                0 likes
                Last Post Irukandji  
                Started by adeelshahzad, Today, 03:54 AM
                0 responses
                4 views
                0 likes
                Last Post adeelshahzad  
                Started by Barry Milan, Yesterday, 10:35 PM
                3 responses
                13 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Working...
                X