Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Adjusting SampleGetHighLowByTimeRange_NT8
Collapse
X
-
Adjusting SampleGetHighLowByTimeRange_NT8
I'm trying to get the SampleGetHighLowByTimeRange_NT8 to work across two days. For example I want it to measure between 17:00 - 06:00 but I'm a bit lost. Would really appreciate if I could get some input into how to get it to work.Last edited by Borgen; 03-18-2022, 05:12 PM.Tags: None
-
Hello Borgen,
Welcome to the NinjaTrader forums!
I think the indicator would need to be reworked to use a start date and time and end date and time (instead of these being built with logic on lines 74, 75).
There is the ChartAnchorTimeEditor attribute that could allow for this.
Good evening, I try to backtest results from consolidation ranges and therefore need a start date+time for the strategy. All time filters I found only applied to excluding certain time of days. With my approach the date is correct but I'm missing time and need to add the time filter only for this day not for the following days
I am also including a link to a forum post with helpful information about getting started with NinjaScript and C#.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
54 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
25 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
17 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
23 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
24 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|
Comment