Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
referencing OnMarketData indicators with MAX and MIN
Collapse
X
-
referencing OnMarketData indicators with MAX and MIN
I have several indicators that use OnMarketData that do not plot historically. I want to use them as inputs to MAX and MIN to find the maximum and minimum values of those indicators inside a strategy. However, MAX and MIN are not returning correct values. What should I do?Tags: None
-
The indicators and strategy are both CalculateOnBarClose = true, but the MAX and MIN are inside IF branches that do not evaluate every bar. Is the indicator which is called from inside MIN and MAX still collecting data when MAX and MIN do not evaluate? Elsewhere in the strategy, I have code that evaluates the indicator with the same parameters every bar.Last edited by honvl; 06-09-2009, 03:30 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, Yesterday, 10:06 AM
|
0 responses
14 views
0 likes
|
Last Post
by argusthome
Yesterday, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
11 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
9 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
4 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
31 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment