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 > Indicator Development

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

Reply
 
Thread Tools Display Modes
Old 06-28-2012, 05:58 AM   #1
safetrading
Senior Member
 
Join Date: May 2008
Posts: 221
Thanks: 12
Thanked 2 times in 2 posts
Default Draw question

I'm using the following;

DrawDot("tag1", true, 0, Low[0] - TickSize, Color.Red);

as part of an indicator. I want the DrawDot to stay there, but each time the condition is met that calls for the dot to be drawn, it removes the previous one. Is there a way to keep all of the dots drawn, and not just the current one?

Thanks,

Safetrading
safetrading is offline  
Reply With Quote
Old 06-28-2012, 06:01 AM   #2
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello safetrading,
Please modify your code with the below code


Code:
DrawDot("tag1" + CurrentBar, true, 0, Low[0] - TickSize, Color.Red);

Please let me know if I can assist you any further.
NinjaTrader_Joydeep is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Joydeep for this post:
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
Question global draw objects in similar panels... Alfred Suggestions And Feedback 5 11-09-2011 05:40 PM
Panel Scale With Draw Question TraderGuy Version 7 Beta General Questions & Bug Reports 8 11-05-2009 11:03 AM
Draw Region question dwalls General Programming 13 04-06-2009 12:38 PM
Draw tools question j4068 Charting 2 03-27-2009 03:22 PM
Draw tools that draw on multiple charts of the same instrument cipher4d Suggestions And Feedback 3 04-19-2008 12:33 AM


All times are GMT -6. The time now is 10:13 AM.