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 cmoran13, 04-16-2026, 01:02 PM
          0 responses
          43 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          25 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          162 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          98 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          158 views
          2 likes
          Last Post CaptainJack  
          Working...
          X