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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
64 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment