Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Market Replay for 1 Min 2 Line Break Strategy
Collapse
X
-
Market Replay for 1 Min 2 Line Break Strategy
Please suggest the most accurate way to perform Market Replay a Line Break strategy. I have used add a data series for Intrabar granularity (AddDataSeries(Data.BarsPeriodType.Tick, 1) and I am currently evaluating the condition on Line Break data series but when entering the position, I am using BarsInProgress == 1. Can someone explain how this can help? StopLoss update is still using Line Break data series.Last edited by yasirbashir1000; 04-17-2022, 06:56 PM.Tags: None
-
Hello yasirbashir1000,
Set methods are only able to run on the primary series.
If you are using 1 tick intra-bar granularity you will need to no longer use SetStopLoss() and use ExitLongStopMarket() / ExitShortStopMarket() instead and submit the orders to BarsInProgress 1.
The ProfitChaseStopTrailExitOrdersExample_NT8 example linked below demonstrates.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
67 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
202 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
366 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
284 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|

Comment