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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
45 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
31 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