Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

signal name for BarsSinceExit

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

    signal name for BarsSinceExit

    Hello,
    When i pass in empty string "" for signal name in BarsSinceExit like (2, "",0), will it reference the last exit of the latest signal name from multiple exit signal names?

    #2
    The empty string "" just references the default signal name, so in your multiple signal setup, please enter the signal name you want to refer to.

    Comment


      #3
      somewhat related question

      If this is one line of a strategy:

      SetStopLoss(CalculationMode.Ticks,4);

      and the stop is indeed hit (in simulator), does NT consider
      this an 'exit' if I use BarsSinceExit() as well in my coding?
      Or is this not considered an exit that BarsSinceExit() will see?

      - Stephen

      Comment


        #4
        Stephen, it should count as an exit. Are you experiencing something else?
        AustinNinjaTrader Customer Service

        Comment


          #5
          Thanks. Just the usual coding confusion.
          I'll see if I can make some progress on my
          own for the moment.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          567 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          330 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          548 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          548 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X