Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Enter an exit condition based on the bar after entry
Collapse
X
-
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.
ThanksLast edited by uspilotzzz; 11-20-2020, 05:22 PM.Tags: None
-
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
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
88 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
134 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment