![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2006
Location: Bellevue, Washington, USA
Posts: 190
Thanks: 2
Thanked 2 times in 2 posts
|
I am attempting (my first) to create an indicator that will show a stub line on the right of the screen like the indicator PriorDayOHLC but I want it to be only a high and a low line for two distinct user selected times today. I could modify the indicator CurrentDayOHL by removing the line for the Open but I don't want it to track the whole day only the times that the user indicates for example 9:00 to 11:00 AM. Can anyone help me change the code in CurrentDayOHL or aim me in the correct direction. Oh, and I want the lines to remain visable all day today.
Thanks |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
What you want to do is go ahead and modify the CurrentDayOHL in the way you mentioned then add a time filter onto it. For an example of how to use a time filter please see this reference sample.
http://www.ninjatrader-support.com/v...ead.php?t=3226
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Certified NinjaScript Consultant
Join Date: Oct 2007
Location: Northern Illinois
Posts: 256
Thanks: 0
Thanked 3 times in 3 posts
|
Dean,
I just created an indicator to show the high and low of a specific time range for each day. Maybe it's what you're looking for? It's at: http://www.ninjatrader-support.com/v...ead.php?t=4156 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Volume Bar Times | Richard Von | Indicator Development | 5 | 09-04-2007 11:24 AM |
| Times & Sales | NinjaTrader_Josh | Suggestions And Feedback | 1 | 07-19-2007 06:11 AM |
| plotting pit times | knightrider123 | Charting | 1 | 06-26-2007 07:04 AM |
| Trading Times | latkinso | Automated Trading | 1 | 06-15-2007 12:23 PM |
| two symbols have different bar times | Folls | Strategy Development | 4 | 05-17-2007 06:42 AM |