Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to access session open?
Collapse
X
-
Hello occam,
We have worked with you on this in your other thread.
When using a daily series, Open[0] is the current open. You can also use CurrentDayOHL()
If you are still having difficulty with this, your best bet may be a 3rd party NinjaScript consultant, who can be hired to write code to your specifications.
Ryan M.NinjaTrader Customer Service
-
What are you comparing to?
PriorDayOHLC and CurrentDayOHL do not return anything when applied to a daily series.
if (!Bars.BarsType.IsIntraday)
{
DrawTextFixed("error msg", "PriorDayOHLC only works on intraday intervals", TextPosition.BottomRight);
return;
}
Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
125 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
105 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
85 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
105 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
85 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment