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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        174 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        329 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        252 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        356 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        183 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X