Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bars Since Entry for 2nd Entry

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

    Bars Since Entry for 2nd Entry

    Working on an exit criteria that uses BarsSinceEntry but does not work on my 2nd entry. Example
    I enter one position long, 15 bars later I enter another position
    My criteria 4 bars later is met for exit from my second entry (if BarsSinceEntry < 7, exit if unrealized P&L drops 1.5%), however my second position is not exited.
    This criteria does work on my first entry when met
    Please advise if the BarsSinceEntry filter only looks at the first entry and how you would enable it to look at each entry individually

    Thank you

    #2
    titleistbb22, BarsSinceEntry() is supposed to look at every single entry, not just the first one. If you are specifying a signal name, does the name change for each entry? Could you perhaps post the code you're using so we can see if something looks out of place?
    AustinNinjaTrader Customer Service

    Comment


      #3
      I figured this out - my criteria simply wasnt being met. Thank you

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cre8able, Yesterday, 01:16 PM
      3 responses
      11 views
      0 likes
      Last Post cre8able  
      Started by ChartTourist, Today, 08:22 AM
      0 responses
      5 views
      0 likes
      Last Post ChartTourist  
      Started by LiamTwine, Today, 08:10 AM
      0 responses
      2 views
      0 likes
      Last Post LiamTwine  
      Started by Balage0922, Today, 07:38 AM
      0 responses
      5 views
      0 likes
      Last Post Balage0922  
      Started by JoMoon2024, Today, 06:56 AM
      0 responses
      6 views
      0 likes
      Last Post JoMoon2024  
      Working...
      X