![]() |
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
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: May 2008
Posts: 221
Thanks: 12
Thanked 2 times in 2 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
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.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Joydeep for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |