NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 10-01-2009, 04:33 PM   #1
MoreYummy
Senior Member
 
Join Date: Aug 2008
Posts: 325
Thanks: 0
Thanked 0 times in 0 posts
Default draw horizontal high/low of a turning point on chart

Hi,

Is there an indicator would draw horizontal line when it turns?

"turns" means when a bar keep going up, then when next bar is NOT up bar, then draw a horizontal line at the highest point of either these 2 bars.
Vice versa for down bar end, if next bar is UP bar, then draw horizontal line at the lowest point of these 2 bars.

If no one has used something like this, let me know.

It sounds like not too hard to program it in indicator scripts. Do you think you can do it with wizard, since im not very familiar with ninjatrader script's language.

Thanks.
MoreYummy is offline  
Reply With Quote
Old 10-01-2009, 05:40 PM   #2
Harry
Senior Member
 
Join Date: Oct 2007
Posts: 1,829
Thanks: 12
Thanked 83 times in 67 posts
Default Try this!

You can take the NinjaTrader Zigzag indicator, then just modify it a bit, so it does not draw a zig and a zag but horizontal lines instead. Just a small modification.
Harry is offline  
Reply With Quote
Old 12-09-2009, 03:50 PM   #3
mat15
Junior Member
 
Join Date: Dec 2009
Location: Monument, CO, USA
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by Harry View Post
You can take the NinjaTrader Zigzag indicator, then just modify it a bit, so it does not draw a zig and a zag but horizontal lines instead. Just a small modification.
I am having trouble getting zig zag to work with EURUSD where it works fine with ES.
I get a notice with EURUSD "zigzag cannot plot any values since the deviation value is too large. Please reduce it" It is set at 0.5 and I change it to 0.4 to 0 and still it does not plot. Any help greatly appreciated. The setting when using ES is 0.5
mat15
mat15 is offline  
Reply With Quote
Old 12-09-2009, 03:56 PM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

You can try 0.001.
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-09-2009, 04:09 PM   #5
mat15
Junior Member
 
Join Date: Dec 2009
Location: Monument, CO, USA
Posts: 2
Thanks: 0
Thanked 0 times in 0 posts
Default zigzag

Josh, Thanks for reply 0.001 worked fine and solved my problem
mat15 is offline  
Reply With Quote
Old 04-10-2010, 12:41 PM   #6
zim01
Junior Member
 
Join Date: Mar 2009
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default zigzag

Newbie here , could you post the modification code, thx George
zim01 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
draw horizontal line on High/Low on previous day's specific time period MoreYummy Charting 10 10-02-2010 04:44 AM
How to draw and maintain collection of horizontal draw lines DancesWithBears Indicator Development 10 06-16-2010 12:54 PM
Showing high and low of first 15 minutes as horizontal lines gandalf33 Indicator Development 2 09-06-2009 01:00 AM
How to grab the previous week's High and Low from an Intraday chart stefy Indicator Development 1 11-11-2008 08:24 AM
Trade entry based off of High/Low of clicked on 1 minute bar on chart takacsj Charting 1 09-19-2008 03:20 AM


All times are GMT -6. The time now is 11:06 AM.