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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        97 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        51 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        24 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        35 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        37 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X