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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
47 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
23 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
33 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment