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:
Code://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 rhyminkevin, Today, 04:58 PM
|
3 responses
47 views
0 likes
|
Last Post
by Anfedport
Today, 05:24 PM
|
||
Started by iceman2018, Today, 05:07 PM
|
0 responses
5 views
0 likes
|
Last Post
by iceman2018
Today, 05:07 PM
|
||
Started by lightsun47, Today, 03:51 PM
|
0 responses
7 views
0 likes
|
Last Post
by lightsun47
Today, 03:51 PM
|
||
Started by 00nevest, Today, 02:27 PM
|
1 response
14 views
0 likes
|
Last Post
by 00nevest
Today, 03:48 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
4 responses
50 views
0 likes
|
Last Post
by futtrader
Today, 03:01 PM
|
Comment