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 CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          476 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          317 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          254 views
          1 like
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          340 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          305 views
          0 likes
          Last Post CarlTrading  
          Working...
          X