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 NullPointStrategies, Today, 05:17 AM
|
0 responses
49 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
67 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment