Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Clarification on stops and targets
Collapse
X
-
Clarification on stops and targets
Hi! I would like to know if I am testing a strategy using daily bars to govern entries and exits, if I put a profit target into the strategy would it only fill if the close of the next daily bar exceeds the target or will it fill on a touch? If it only takes the profit on a close, is there a way to build and test entering the trade on the close but exiting on an intraday touch of the potential profit target? Thanks!Tags: None
-
Hello BigNTDiggyD,
Orders are separate from bars meaning they will fill with the markets granularity in realtime. Actions your script takes like submitting orders or moving targets would be at the rate of the daily bar close if that is the only series being used and you are using Calculate OnBarClose.
In historical data tests you would need to submit orders to a secondary series if you wanted to test filling orders with more granularity while using a daily bar. An alterative would be to use a more granular series as the primary and then reference daily bar data from a secondary series.
-
Thanks! That is helpfulOriginally posted by NinjaTrader_Jesse View PostHello BigNTDiggyD,
Orders are separate from bars meaning they will fill with the markets granularity in realtime. Actions your script takes like submitting orders or moving targets would be at the rate of the daily bar close if that is the only series being used and you are using Calculate OnBarClose.
In historical data tests you would need to submit orders to a secondary series if you wanted to test filling orders with more granularity while using a daily bar. An alterative would be to use a more granular series as the primary and then reference daily bar data from a secondary series.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
88 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
31 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
34 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
69 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment