Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Price of Open () at 9:30
Collapse
X
-
Price of Open () at 9:30
In the strategy, I need to get the price of Open () at the opening of the stock exchange at 9:30. How can I do this?Tags: None
-
Hello Kostiantyn,
Thanks for your post.
You can compare the bar close time to 9:30 and then save the open price of the bar. For example:
if (ToTime(Time[0]) == 93000)
{
myOpenPrice = Open[0]; // save open price at 9:30 into double variable myOpenPrice
}
Reference: http://ninjatrader.com/support/helpG...us/?totime.htmPaul H.NinjaTrader Customer Service
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by hfwiley, Today, 03:02 PM
|
1 response
8 views
0 likes
|
Last Post
|
||
Started by pdennis, Today, 02:34 PM
|
0 responses
8 views
0 likes
|
Last Post
![]()
by pdennis
Today, 02:34 PM
|
||
Started by WeyldFalcon, Today, 02:07 PM
|
0 responses
7 views
0 likes
|
Last Post
![]()
by WeyldFalcon
Today, 02:07 PM
|
||
Started by tonynt, Today, 01:47 PM
|
3 responses
15 views
0 likes
|
Last Post
|
||
Started by WesFoster, Today, 12:39 PM
|
1 response
9 views
0 likes
|
Last Post
|
Comment