Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
yesterdays ohlc code snippet
Collapse
X
-
Hi diffused,
Could you please clarify what you mean? Not sure what you ask for...Thanks!
Have you looked at those? - http://www.ninjatrader-support2.com/...ch=OHLC&desc=1BertrandNinjaTrader Customer Service
-
Hi, please take a look at the PriorDayOHLC then - http://www.ninjatrader-support.com/H...orDayOHLC.html
This would give you the previous day's close -
Code:[SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]double[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2] previousClose = PriorDayOHLC().PriorClose[[/SIZE][/SIZE][SIZE=2][COLOR=#800080][SIZE=2][COLOR=#800080][SIZE=2][COLOR=#800080]0[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2]];[/SIZE][/SIZE] [SIZE=2][SIZE=2][/SIZE][/SIZE]
BertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by RoswellTrader, 09-06-2023, 03:00 PM
|
4 responses
583 views
0 likes
|
Last Post
by vaxtro1
Today, 12:21 AM
|
||
Started by tidicofx, Today, 12:02 AM
|
0 responses
3 views
0 likes
|
Last Post
by tidicofx
Today, 12:02 AM
|
||
Started by Allwest, Yesterday, 10:25 PM
|
1 response
10 views
0 likes
|
Last Post
by gaz0001
Yesterday, 10:36 PM
|
||
Started by Mindset, Yesterday, 10:31 PM
|
0 responses
10 views
0 likes
|
Last Post
by Mindset
Yesterday, 10:31 PM
|
||
Started by sevensa, 03-14-2024, 10:15 PM
|
3 responses
27 views
0 likes
|
Last Post
by sevensa
Yesterday, 10:19 PM
|
Comment