I use this indicator (https://ninjatraderecosystem.com/use...color-regions/) It has time setting. I just wanna edit code so it will automatically change time depending on current instrument. For example, for ES 04:15 PM - 09:30 AM EST, GC 1:30 PM - 8:20 AM. I know there is Instrument.FullName but I don't need exp date.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Instrument.FullName
Collapse
X
-
Instrument.FullName
Hi,
I use this indicator (https://ninjatraderecosystem.com/use...color-regions/) It has time setting. I just wanna edit code so it will automatically change time depending on current instrument. For example, for ES 04:15 PM - 09:30 AM EST, GC 1:30 PM - 8:20 AM. I know there is Instrument.FullName but I don't need exp date.
Tags: None
-
Hello Leeroy_Jenkins,
Thanks for your post.
You can use Bars.Instrument.MasterInstrument.Name. Please see: https://ninjatrader.com/support/help...ument_name.htm
- Likes 1
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
44 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
58 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
35 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
95 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
59 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment