Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Erroy by saving a MA-Template

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

    Erroy by saving a MA-Template

    The following error is written into the tracefile when I try to save
    a MarketAnalyzer Template.

    with the following column: NinjaTrader.MarketAnalyzer.TradeEscort

    this is a self coded description column

    The strange thing is, that I have done that already by 100times with the same component and suddenly I'm getting this error

    does anyone know the problem?



    2009-12-20 15:54:55:125 in OnUnhandledThreadException
    2009-12-20 15:54:55:125 ********* exception trapped *********
    2009-12-20 15:54:55:125 Fehler beim Reflektieren des Typs 'NinjaTrader.MarketAnalyzer.TradeEscort'.
    2009-12-20 15:54:55:125 bei System.Xml.Serialization.XmlReflectionImporter.Imp ortTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel)
    bei System.Xml.Serialization.XmlReflectionImporter.Imp ortElement(TypeModel model, XmlRootAttribute root, String defaultNamespace)
    bei System.Xml.Serialization.XmlReflectionImporter.Imp ortTypeMapping(Type type, XmlRootAttribute root, String defaultNamespace)
    bei System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)
    bei System.Xml.Serialization.XmlSerializer..ctor(Type type)
    bei NinjaTrader.Cbi.XmlSerializerDictionary.get_Item(T ype type)
    bei NinjaTrader.Cbi.Serializer.Serialize()
    bei NinjaTrader.MarketAnalyzer.MarketAnalyzerControl.S aveToXml(XmlDocument document, XmlElement element, Boolean asTemplate)
    bei NinjaTrader.MarketAnalyzer.TemplateForm.bntOk_Clic k(Object sender, EventArgs e)
    bei System.Windows.Forms.Control.OnClick(EventArgs e)
    bei System.Windows.Forms.Button.OnClick(EventArgs e)
    bei System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
    bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
    bei System.Windows.Forms.Button.WndProc(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    .....

    By opening the MarketAnalyzer this Column is also missing.
    In the trace file I also found the following error:

    2009-12-20 16:04:45:828 ERROR: Failed to restore Market Analyzer column 'NinjaTrader.MarketAnalyzer.TradeEscort'. Most likely (a) the implementation changed or (b) one or more properties have been renamed or removed or (c) the custom assembly which implements this indicator no longer is there.


    ... When I add this column in the MarketAnalyzer it works fine - storing the template or storing the workspace causes the problem again.

    But I'm using this column already since month's an I never had problems.
    Last edited by TheChingachgook; 12-20-2009, 11:09 AM.

    #2
    Hello,

    I am sorry, the custom coded part is beyond our level of support.
    DenNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Ben View Post
      Hello,

      I am sorry, the custom coded part is beyond our level of support.
      Hi Ben

      I don't understand your answer ...
      what is the difference to a custom coded indicator or strategy ?

      I only would need a hint what this error message means and how I can fix it.

      I'm in the process to become a NinjaTrader partner with a 3rd-party add on within the next weeks and this error would prevent this intention and this solution is a bit more complex than a solution for privat use only.

      So I really would be happy if you could help me.

      many thanks for your cooperation
      Last edited by TheChingachgook; 12-20-2009, 02:23 PM.

      Comment


        #4
        Hello,

        What do you mean by custom coded the description column. I've never heard of someone doing that so I suspect that this is beyond my personal level of understanding. I will have someone take a look at this on Monday. Sorry, I just don't know the answer because I haven't been train this aspect...because its beyond our level of support for normal users.
        DenNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Ben View Post
          Hello,

          What do you mean by custom coded the description column. I've never heard of someone doing that so I suspect that this is beyond my personal level of understanding. I will have someone take a look at this on Monday. Sorry, I just don't know the answer because I haven't been train this aspect...because its beyond our level of support for normal users.

          Hi Ben

          I've found the problem.

          With a DescriptionColumn I meant a self coded MarketAnalyzer-Column. This term I've found somewhere in the forum and therefore thought it's in common understanding of the support members ... sorry for that confusion.


          The solution is, that the XmlReflectionImporter.ImportTypeMapping has a problem by passing an object into a constructor, but the compiler and the executable don't regconize a problem with that. So it seems the ReflectionImporter cannot dissolve the API when an object is passed into the constructor.

          Thanks for your good will

          regards

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          649 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
          573 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          576 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X