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 > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 02-16-2011, 11:52 AM   #1
trader2be
Member
 
Join Date: Nov 2007
Posts: 63
Thanks: 0
Thanked 0 times in 0 posts
Default Plotting chart markers on top of indicators

I am plotting chart markers (arrows) on my charts based on a certain logic. However it happens that those chart markers are hidden by the indicators loaded onto the chart. How can I make sure that my chart markers are displayed on top of all other indicators?
trader2be is offline  
Reply With Quote
Old 02-16-2011, 12:22 PM   #2
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

You can set ZOrder in your indicators Initialize(). However this is 100 percent unsupported.(As it can get a little messy when dealing with multiple inicators requesting same Zorder)

ZOrder = 1;

for example.
NinjaTrader_Brett is offline  
Reply With Quote
Old 02-16-2011, 01:06 PM   #3
trader2be
Member
 
Join Date: Nov 2007
Posts: 63
Thanks: 0
Thanked 0 times in 0 posts
Default

Would I put this command in the indicator that plots the arrows, or in the indicators that are applied to the chart?
trader2be is offline  
Reply With Quote
Old 02-16-2011, 01:27 PM   #4
NinjaTrader_Brett
NinjaTrader Customer Service
 
NinjaTrader_Brett's Avatar
 
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
Default

Hello,

Indicator that plots the arrows on the chart which would be the indicator applied to the chart in initialize().

Let me know if I can be of further assistance.
NinjaTrader_Brett 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
Price markers on indicators disappear koganam Version 7 Beta General Questions & Bug Reports 1 07-14-2010 02:40 PM
Indicators are not plotting on strategy Day Trading Fool Strategy Development 7 02-07-2010 01:23 PM
Display indicators Markers only tommyjames Charting 3 02-27-2009 05:53 AM
Plotting Breadth Indicators mrmarket Charting 3 12-23-2008 11:03 AM
plotting markers on past data x2012 General Programming 2 08-16-2007 06:54 AM


All times are GMT -6. The time now is 10:00 PM.