Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What is State.Finalized?

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

    What is State.Finalized?

    This popped up the other day and there isn't anything in the help files. Whilst I am here....
    It came up on an issue where my StringSeries is being reported incorrectly.
    if I print my string series out it's perfect but if I convert it to a brush it goes wrong about 50% of the time.

    myBrush2 = (System.Windows.Media.SolidColorBrush)new BrushConverter().ConvertFromString(myStringSeries[2]);
    Edit on checking it appears the indicator gets to the end of the bars and then goes right back to the very first bar and gets stuck there.
    Last edited by Mindset; 10-11-2024, 10:20 AM.

    #2
    Hello Mindset,

    Thank you for your post.

    I'm not clear on what is being asked in this post. Are you asking about States or about a brush being reported incorrectly?

    What do you mean by " but if I convert it to a brush it goes wrong about 50% of the time."? Can you provide a specific example with output?

    Comment


      #3
      Sorry - my initial question is what is state.finalized and why is it not outlined in your help files.
      I have never seen it before so I assume it may have something to do with my error issue.

      Comment


        #4
        Hello,

        State.Finalized is intentionally not documented, used internally, and is not supported for use in NinjaScript.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        83 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        47 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X