NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 08-03-2009, 12:31 PM   #1
AnotherTrader
Senior Member
 
Join Date: Aug 2009
Posts: 269
Thanks: 41
Thanked 8 times in 8 posts
Send a message via ICQ to AnotherTrader
Question Up Trend Lines/Channels

I would like to have an indicator that plots UP TREND LINES (and DOWN TREND LINES) on my 1-min candlestick charts.
I am unaware if this indicator already exists in Ninja Trader (and perhaps has a name that I don’t recognise?), or - if not - whether there are any “open source” NinjaScript code fragments out there that I could get my hands on to do this ...
The sort of indicator logic I am looking for is allowing the lines of:
UP TREND LINE can be drawn if the following price series occurs:
a) A LOW, followed (perhaps some bars later?) by
b) a HIGH, followed (perhaps some bars later?) by
c) a HIGHER LOW, followed (perhaps some bars later?) by
d) a HIGHER HIGH
UP TREND LINE will then be drawn through the LOW and the HIGHER LOW.
Similar logic for DOWN TREND LINE ...
Am also looking for indicator that would plot UP TREND CHANNELS (and DOWN TREND CHANNELS) ...
Grateful for any help or advice.
AnotherTrader is offline  
Reply With Quote
Old 08-03-2009, 12:37 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

AnotherTrader,

Please try checking out the file sharing section of the forums. You may find what you want in there. What is publicly shared is generally gathered over there.
NinjaTrader_Josh is offline  
Reply With Quote
Old 08-03-2009, 02:56 PM   #3
AnotherTrader
Senior Member
 
Join Date: Aug 2009
Posts: 269
Thanks: 41
Thanked 8 times in 8 posts
Send a message via ICQ to AnotherTrader
Question

Quote:
Originally Posted by NinjaTrader_Josh View Post
AnotherTrader,

Please try checking out the file sharing section of the forums. You may find what you want in there. What is publicly shared is generally gathered over there.
Thanks, NinjaTrader_Josh.

Where is the file sharing section?
AnotherTrader is offline  
Reply With Quote
Old 08-03-2009, 03:00 PM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

http://www.ninjatrader-support2.com/...splay.php?f=38
NinjaTrader_Josh is offline  
Reply With Quote
Old 08-03-2009, 03:36 PM   #5
AnotherTrader
Senior Member
 
Join Date: Aug 2009
Posts: 269
Thanks: 41
Thanked 8 times in 8 posts
Send a message via ICQ to AnotherTrader
Thumbs up

Quote:
Originally Posted by NinjaTrader_Josh View Post
Thanks for the reference, NinjaTrader_Josh!
I have already found one that will get me started ...
Automatic Trend Line Detection
http://www.ninjatrader-support2.com/vb/local_links.php?catid=1&linkid=2
Last edited by AnotherTrader; 08-04-2009 at 03:52 AM. Reason: typo
AnotherTrader is offline  
Reply With Quote
Old 08-04-2009, 03:53 AM   #6
AnotherTrader
Senior Member
 
Join Date: Aug 2009
Posts: 269
Thanks: 41
Thanked 8 times in 8 posts
Send a message via ICQ to AnotherTrader
Thumbs up

Quote:
Originally Posted by AnotherTrader View Post
Thanks for the reference, NinjaTrader_Josh!
I have already found one that will get me started ...
Automatic Trend Line Detection
http://www.ninjatrader-support2.com/...tid=1&linkid=2
And the following is also a useful reference, too.

Indicator: Calculating the highest high or lowest low for a specified time range
http://www.ninjatrader-support2.com/...ad.php?p=44911

I have plenty to work with now.

Thanks!
AnotherTrader is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trend Lines Part 1 of code mainstream Indicator Development 3 03-21-2009 09:49 PM
Automatic Trend Lines pjwinner Charting 2 02-18-2009 03:46 AM
Trend Channels Tool ? jed77 Indicator Development 11 12-08-2008 05:21 AM
How to keep trend lines parallel Truth Charting 1 12-01-2008 05:12 AM
Trend line channels - Oscillator trend lines ? fryguy General Programming 1 05-16-2008 10:20 AM


All times are GMT -6. The time now is 12:30 AM.