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 cmtjoancolmenero, Yesterday, 03:58 PM
        11 responses
        39 views
        0 likes
        Last Post cmtjoancolmenero  
        Started by FrazMann, Today, 11:21 AM
        0 responses
        3 views
        0 likes
        Last Post FrazMann  
        Started by geddyisodin, Yesterday, 05:20 AM
        8 responses
        52 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by DayTradingDEMON, Today, 09:28 AM
        4 responses
        26 views
        0 likes
        Last Post DayTradingDEMON  
        Started by George21, Today, 10:07 AM
        1 response
        22 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Working...
        X