Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enter an exit condition based on the bar after entry

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

    Enter an exit condition based on the bar after entry

    I am trying to create a condition in which the trade will exit based on the bar after entry in the strategy builder. For example I enter a short position and if the bar after entry is bullish the position closes. The bullish part is no problem but I am unsure how to identify the bar after entry and ONLY the bar after entry.

    Thanks
    Last edited by uspilotzzz; 11-20-2020, 05:22 PM.

    #2
    Hello uspilotzzz,

    In the condition builder select Misc > Bars since entry, in the center select Equals (or Greaters equal), on the right select Misc -> Number value and leave this set to 0 (or set this to 1 if you plan to use this with Calculate On price change or On each tick in real-time.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    49 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    67 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X