• 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

Bars Since Entry/Exit

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

    #16
    If using bars since EXIT, if there have been no exits yet, what do you do to initiate the first trade?

    Comment


      #17
      Hello cupir2,

      BarsSinceExitExecution() will return a negative 1 if there have not been any exits.

      Below is a public link to the help guide on BarsSinceExitExecution().
      https://ninjatrader.com/support/help...texecution.htm

      In the condition builder compare BarsSinceExitExecution() to a Misc > Numeric value and set the value to -1 to detect if no exit has been placed.

      Check for both BarsSinceExitExecution() and BarsSinceEntryExecution() to both have a value of -1 if you are wanting to detect when there have been no trades.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        The ExitFromOneEntryOnce attribute can be set to two values. With StandardCalculation an exit order can be applied to an entry only once, meaning that multiple exit orders are needed for scaling out of a position mypremiercreditcard.
        Last edited by trent685; 01-11-2019, 09:23 PM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by johnnybegoode, Yesterday, 10:06 PM
        0 responses
        4 views
        0 likes
        Last Post johnnybegoode  
        Started by stasha, Yesterday, 07:35 PM
        1 response
        10 views
        0 likes
        Last Post stasha
        by stasha
         
        Started by johnnybegoode, Yesterday, 07:06 PM
        0 responses
        11 views
        0 likes
        Last Post johnnybegoode  
        Started by contrax, 10-02-2017, 05:32 PM
        8 responses
        2,131 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by lehula, 01-09-2019, 04:39 PM
        4 responses
        24 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X