Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator doesn't load

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

    Indicator doesn't load

    Hi,
    I've developed a few indicators (quite simple ones) which work fine.
    But whenever I close the platform, then reopen a graph after a restart, the indicator configured on the graph doesn't show.
    Even if I save the Graph template with the indicator, it doesn't load when I load the template.
    I have to manually add the indicators again in order to see them (and only then they show on the graph)

    This means that I basically have to add all the missing indicators I've developed every time I open my graph.

    Any idea?

    Thanks for your help
    Franck

    #2
    bRO....
    you code something wrong.

    this issues is not from NT8, it because your didn't serialize something.

    Comment


      #3
      Hello Franck,

      Are any errors appearing on the Log tab of the control center when opening the workspace?

      Are all public variables that are not string, int, double, bool, or enum, using the [XmlIgnore()] attribute?
      https://ninjatrader.com/support/help...eattribute.htm
      https://ninjatrader.com/support/help...definedbrushes
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Hi Chelsea, Cincai,
        Thank you both. It was a bit of [XmlIgnore()] attribute missing and messed up serialization
        Very helpful!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by demarcog, Today, 12:28 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by demarcog, Today, 11:03 AM
        5 responses
        20 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by jo54321, Today, 04:26 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by pserrera, Today, 03:26 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by maxuscz, Today, 03:01 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X