Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Do State.Transition not print?

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

    Do State.Transition not print?

    if(State == State.Historical)

    {
    Print((Time[0] + " In State.Historical " ));
    }
    else if(State == State.Transition)

    {
    Print((Time[0] + " In State.Transition " ));
    }

    else if(State == State.Realtime)

    {
    Print((Time[0] + " IN REAL-TIME!!! " ));
    }

    did not see any In State.Transition prints in the output logs. I would expect to see it in between historical and real time...

    #2
    Hello Boonfly8,

    Thank you for your note.

    When I add the attached indicator to a chart while connected to a realtime data feed, I see a print to the output window.

    Are you seeing any errors on the log tab?

    If you apply the attached script to a chart while connected to a realtime data feed, do you see a print?

    I look forward to your reply.
    Attached Files
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Belfortbucks, Today, 09:29 PM
    0 responses
    6 views
    0 likes
    Last Post Belfortbucks  
    Started by zstheorist, Today, 07:52 PM
    0 responses
    7 views
    0 likes
    Last Post zstheorist  
    Started by pmachiraju, 11-01-2023, 04:46 AM
    8 responses
    151 views
    0 likes
    Last Post rehmans
    by rehmans
     
    Started by mattbsea, Today, 05:44 PM
    0 responses
    6 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    33 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Working...
    X