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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
42 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
29 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|
Comment