Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
high & lows
Collapse
X
-
Hello pman777,
Yes there is. If you are looking for the previous days high and low, NinjaTrader does come with the PriorDayOHLC indicator that you can use. See the link below for more information about the PriorDayOHLC indicator.
http://www.ninjatrader.com/support/h...r_day_ohlc.htm
Alternatively, if you are looking for the highest price value over a lookback period you can use the HighestBar() or LowestBar() to get the number of bars ago the value was. For example:
LowestBar(): http://www.ninjatrader.com/support/h...?lowestbar.htmCode://Gets the number of bars ago the high was in a 15 bar period int testval = HighestBar(Close, 15); Print("High close price of the last 15 bars is: "+Close[testval]);
HighestBar(): http://www.ninjatrader.com/support/h...highestbar.htm
Please let me know if I can be of further assistance.JCNinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
77 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
45 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
27 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
32 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
63 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment