How is this done?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OHLC of Entry Bar
Collapse
X
-
OHLC of Entry Bar
hi I need to get the OHLC of the bar (15min) when a position was opened.
How is this done?Tags: None
-
If I set the Session times to be 930am to 415pm...would this be the same equivalent as this code?
if (ToTime(Time[0]) > ToTime(9, 30, 0))
Comment
-
More or less, yes for the 9:30 part.
If you do it by session definitions though it means all of your indicators will not take into account information before 9:30. If you do it by code your other indicators which you may use for signals and such would still be calculating and take into account data before 9:30.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Taddypole, 04-26-2024, 02:47 PM
|
2 responses
14 views
0 likes
|
Last Post
by Taddypole
Today, 12:43 PM
|
||
Started by futtrader, 04-21-2024, 01:50 AM
|
6 responses
58 views
0 likes
|
Last Post
by futtrader
Today, 11:54 AM
|
||
Started by sgordet, Today, 11:48 AM
|
0 responses
6 views
0 likes
|
Last Post
by sgordet
Today, 11:48 AM
|
||
Started by Trader146, Today, 11:41 AM
|
0 responses
6 views
0 likes
|
Last Post
by Trader146
Today, 11:41 AM
|
||
Started by jpapa, 04-23-2024, 07:22 AM
|
2 responses
23 views
0 likes
|
Last Post
by rene69851
Today, 11:39 AM
|
Comment