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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
45 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
31 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment