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 CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        31 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        21 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        184 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        342 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        264 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X