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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
567 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment