Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug System Crash when Name is set to ""

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

    Bug System Crash when Name is set to ""

    Hi,

    If you set the name property on the OnStateChanged() to "" , 2 bad things happen, firstly in the Ninja Available indicators dialog, the entry is blank, and second, the ninjatrader will crash when you select the blank item.

    I like to make the name = "" because I dont want the indicator settings cluttering up the chart. I figured I could code the "" in my ninjascript, but again, errors occur.

    #2
    Definitely Khaos!!!

    Comment


      #3
      Hello KhaosTrader,

      Thank you for your post.

      You can override the DisplayName to format the items displayed on the chart as far as name and settings. For an example please visit the following link: http://ninjatrader.com/support/forum...ead.php?t=4749

      I will bring your report to development's attention.

      Comment


        #4
        Hi,

        I implemented the following override to clear the top left of my chart:

        Code:
        		public override string DisplayName
        		{
        			get { return ""; } //blank out the display to keep it clean
        		}
        It did clear the text on the top right, however, there is a problem: In the indicators dialog, Under "configured", the indicator name is a blank line. So there is surely an issue here.

        Comment


          #5
          Hello KhaosTrader,

          Thank you for your post.

          The Label changing under configured is different than how NinjaTrader 7 behaved. I will forward to development and follow up when I have any information on this matter.

          Comment


            #6
            Originally posted by KhaosTrader View Post
            It did clear the text on the top right, however, there is a problem: In the indicators dialog, Under "configured", the indicator name is a blank line.
            Hello KhaosTrader,

            This would now be the expected behavior for overriding the DisplayName in NinjaTrader 8. It would be different than NinjaTrader 7.

            Originally posted by KhaosTrader View Post
            If you set the name property on the OnStateChanged() to "" , 2 bad things happen, firstly in the Ninja Available indicators dialog, the entry is blank, and second, the ninjatrader will crash when you select the blank item.

            I like to make the name = "" because I dont want the indicator settings cluttering up the chart. I figured I could code the "" in my ninjascript, but again, errors occur.
            This is expected for resolution in the next Beta release. This item is tracked under the ID # NTEIGHT-10070.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by kujista, Today, 06:23 AM
            0 responses
            1 view
            0 likes
            Last Post kujista
            by kujista
             
            Started by traderqz, Yesterday, 04:32 PM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by f.saeidi, Today, 05:56 AM
            1 response
            4 views
            0 likes
            Last Post Jltarrau  
            Started by Jltarrau, Today, 05:57 AM
            0 responses
            4 views
            0 likes
            Last Post Jltarrau  
            Started by Stanfillirenfro, Yesterday, 09:19 AM
            7 responses
            52 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X