Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 terofs, Yesterday, 04:18 PM
|
1 response
21 views
0 likes
|
Last Post
by terofs
Today, 10:14 AM
|
||
Started by CommonWhale, Today, 09:55 AM
|
1 response
3 views
0 likes
|
Last Post Today, 10:11 AM | ||
Started by Gerik, Today, 09:40 AM
|
2 responses
7 views
0 likes
|
Last Post
by Gerik
Today, 10:04 AM
|
||
Started by RookieTrader, Today, 09:37 AM
|
2 responses
13 views
0 likes
|
Last Post
by RookieTrader
Today, 10:02 AM
|
||
Started by alifarahani, Today, 09:40 AM
|
1 response
7 views
0 likes
|
Last Post Today, 10:01 AM |
Comment