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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
558 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|
Comment