Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
MAX function
Collapse
X
-
MAX function
Hello- I'm trying to use the MAX function in a multi-instrument strategy. One of the overloads is "input data series". I'm not sure how to specify this but is there any need to specify the input data series if the statement is located under the appropriate BIP section? I assume that it just takes that particular data series associated with that BIP routine. This is what I'm doing but getting some strange results.Tags: None
-
Hello ciro1963,
Thank you for the post
You are correct, if it resides in the body of a BIP condition, it would be executed for that BIP. You can specify a series though like the following:
The plural series name or BarsArray could be used for multi-series access to a specific series.Code:double value = MAX(Highs[1], 20)[0];
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
561 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
325 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment