Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicators not saving to workspaces.

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

    Indicators not saving to workspaces.

    Hi,
    I have a couple of workspaces I created today and set up 4 charts in each with several oscillators, moving averages, and a couple of custom indicators.
    When I close NT8, I save all workspaces, but when I reopen them I am missing one of the custom indicators, the moving averages and oscillators.
    I have tried a few times putting them back on the charts, saving the workspaces, closing NT8 then reopening. But I get the same result every time.

    Then I tried adding a chart with all the indicators bar one, and closing, reopening etc.
    I have discovered that all the indicators save to the chart, as long as one of my custom indicators isn't put on the chart.

    I have Version B11 64bit on Win 10.

    Can you please help?
    Last edited by KennyK; 06-05-2016, 12:38 AM.

    #2
    Workspace Elements not Saving.

    Experiencing a very similar Workspace/Save problem here (also under NT8/B11), as described by KennyK. Elements of the Charts under various Workspace Tabs are not saved & restored when re/opened.

    Comment


      #3
      With the Indicator that KennyK described, I see "an error generating the xml document" in the log tab after selecting Save for the workspace.
      The code of the indicator is pretty straightforward, and I don't see anything wrong with it. It has some Brush inputs (correctly serialized) and an override for the DisplayName. That's about it.
      saltminer.

      Comment


        #4
        I had a similar issue.

        Have you read the following thread?



        I was miissing an XMLIgnore:

        Code:
        [XmlIgnore()]		
        		[Display(Name = "Border Color", Description = "Panel border color", GroupName = "Colors", Order = 0)]
        		public Brush BorderBrush
        		{	
                    get { return borderBrush; }
                	set { borderBrush = value; }
                    }
        				
        		[Browsable(false)]
            	public string BorderBrushSerialize
            	{
                	get { return Serialize.BrushToString(borderBrush); }
                    set { BorderBrush = Serialize.StringToBrush(value); }
            	}

        Comment


          #5
          Thanks FatCanary, that was indeed the problem.An easy thing to overlook.
          saltminer

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          45 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          30 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          99 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          177 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          170 views
          0 likes
          Last Post CarlTrading  
          Working...
          X