Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Indicator Triggering Multiple Times on Intrabar Movement.
Collapse
X
-
Indicator Triggering Multiple Times on Intrabar Movement.
To make sure Replay replicates close as possible to Live feed, I have added Intrabar granularity by using AddLineBreak of type Tick. It works great but on rare occasion, cross above and below are triggering several time because of Intrabar movement. Can you please suggest best way/technique to handle this issue? Thanks.Tags: None
-
Hello yasirbashir1000,
Intra-bar granularity should be added with AddDataSeries() and not with AddLineBreak().
Below is a link to the reference sample.
And a link to a forum post that discusses.
The logic should be evaluated during BarsInProgress 0 and not during the 1 tick series updating.
As long as Calculate is OnBarClose, crosses would only be detected once per primary bar (BarsInProgress 0).
Chelsea B.NinjaTrader Customer Service
- Likes 1
-
-
Hi NinjaTrader_ChelseaB How can I avoid duplicate crosses if If I use1 min 3 Line Break as the primary series and add AddDataSeries(BarsPeriodType.Tick, 1)?
Comment
-
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
71 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
143 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
76 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
47 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
51 views
0 likes
|
Last Post
|

Comment