• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 Johnny Santiago, 10-11-2019, 08:21 AM
        7 responses
        109 views
        0 likes
        Last Post FMtrader  
        Started by HiddenPhilosopher, Today, 04:37 AM
        0 responses
        7 views
        0 likes
        Last Post HiddenPhilosopher  
        Started by Gerik, Today, 04:09 AM
        0 responses
        3 views
        0 likes
        Last Post Gerik
        by Gerik
         
        Started by dsxfcv, Today, 02:02 AM
        0 responses
        4 views
        0 likes
        Last Post dsxfcv
        by dsxfcv
         
        Started by FMtrader, Today, 01:57 AM
        0 responses
        10 views
        0 likes
        Last Post FMtrader  
        Working...
        X