I want to be able to backtest this strategy tick by tick. The way I want it to work is place a short stop entry on the next bar after the criteria are met. If it's filled, I want it to accurately backtest whether it hits an 8 tick target, or 8 tick stop. Currently it will stop out if the 10 minute prints at least 8 ticks above the entry regardless of whether the ticks hit an 8 tick profit first. Is this going to be possible?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Tick by tick backtesting
Collapse
X
-
Tick by tick backtesting
Hi,
I want to be able to backtest this strategy tick by tick. The way I want it to work is place a short stop entry on the next bar after the criteria are met. If it's filled, I want it to accurately backtest whether it hits an 8 tick target, or 8 tick stop. Currently it will stop out if the 10 minute prints at least 8 ticks above the entry regardless of whether the ticks hit an 8 tick profit first. Is this going to be possible?Tags: None
-
Hello jeremy1375,
Welcome to the NinjaTrader forums!
Yes, this is possible. You will want to work from this reference sample:
You can submit orders to different Bars objects. This allows you the flexibility of submitting orders to different timeframes. Like in live trading, taking entry conditions from a 5min chart means executing your order as soon as possible instead of waiting until the next 5min bar starts building. You can achieve this by
You will want to use Exit() statements submitted to the tick series instead of Set statements.
All exit statements like ExitLongLimit() and ExitLongStop() have an overload that allows you to submit to a specific series.Last edited by NinjaTrader_RyanM1; 12-06-2010, 04:29 PM.Ryan M.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
567 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|
Comment