Rob
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
BOP multi-timeframe
Collapse
X
-
BOP multi-timeframe
I have figured out how to configure multiple indicators to work on each timeframe in a multi-timeframe strategy. I cannot figure out how to get BOP to work off different timeframes in the same strategy. I would appreciate any advice. Thanks.
RobTags: None
-
Hello zrobfrank,
The BOP indicator uses specific price series in its logic so it cannot take a multi timeframe input like some other indicators can. To use that in a multi series strategy you would need to surround that indicator with a BarsInProgress condition:
The BarsInProgress lets you know which series called OnBarUpdate. During BarsInProgress 1 that is when the secondary series called OnBarUpdate so series like Open High Low Close represent the secondary series data. The indicator will observe that and produce the value for those secondary series calculations when used inside a condition that executes only on the secondary series. Code:if(BarsInProgress == 0) { double primaryBop = BOP(3)[0]; } if(BarsInProgress == 1) { double secondaryBop = BOP(3)[0]; }
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