Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Identifying live vs. simulated account

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

    Identifying live vs. simulated account

    I want to change the color of objects that my indicator generates when the active account is a live account. What is the best way to accomplish this? Currently I have:

    if(activeAccount.Provider != Provider.Simulator && activeAccount.Provider != Provider.Playback){

    }

    #2
    Hello martyn73,

    Thank you for the post.

    That looks like it should cover the general simulator situations where you would have a simulation account in use, this should also report for a sim account being used. Are you seeing any issues with this in your use cases or were you just checking if this would be valid?

    There is not a specific recommendation in the help guide surrounding checking for this, what you have seems to be sufficient unless you have found a case where it is not and we could explore that directly.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    57 views
    0 likes
    Last Post PaulMohn  
    Working...
    X