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 CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
305 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
195 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
186 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
274 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
228 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment