Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Unique Identifiers: Local or Global

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

    Unique Identifiers: Local or Global

    Hello,

    Are the unique identifiers, for example for an Alert(), global to all running scripts (charts, strategies, market analyzer) or only to the instance that it is running in?

    Thank you

    #2
    Turtle Trader, Alert ids are global.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RyanM View Post
      Turtle Trader, Alert ids are global.
      Ryan, are you sure of that? You mean I can reset an Alert() on one chart by referencing it by the same ID from a different chart? My indicators' alerts, even if they are using the same name/tag do not seem to reset each other if the same indicator is on different charts. Did I misunderstand the question and/or the answer?

      Comment


        #4
        Thanks for the reply. Alert ids are unique to the instrument, so you could not reset alert from a different chart with a different instrument. You can use ResetAlert() from a different chart, same instrument and it will reset the alert.
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cre8able, Today, 01:16 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by chbruno, 04-24-2024, 04:10 PM
        3 responses
        48 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by samish18, Today, 01:01 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Started by WHICKED, Today, 12:56 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by WHICKED, Today, 12:45 PM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Working...
        X