NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Suggestions and Feedback > Suggestions And Feedback

Suggestions And Feedback New feature suggestions and feedback.

Reply
 
Thread Tools Display Modes
Old 08-24-2009, 02:46 PM   #1
koganam
Member
 
Join Date: Feb 2008
Posts: 46
Angry Precise placement of draw objects using NinjaScript

From what I have seen so far, the only draw objects that have a "pixel displacement" parameter is DrawText(). This allows one to precisely place text, say, exactly 10 pixels from the low of a bar, and makes for very neat and readable charts.

On the other hand, trying to place arrows or triangles is an excruciating exercise in frustration, as one can never quite be sure where the arrow will lie, even if one uses a multiple of the ticksize, as any change in the dimensions of the window also causes a change in the arrow placements.

Please provide a displacement parameter for all draw objects.

Here is an example of what I mean:
DrawText(string tag, bool autoScale, string text, int barsAgo, double y, double yPixelOffset, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color backColor, int opacity)

DrawArrowUp(string tag, bool autoScale, int barsAgo, double y, Color color)

DrawTriangleDown(string tag, bool autoScale, int barsAgo, double y, Color color)
In the latter two, placing "y" with any amount of precision seems to be impossible: with DrawText(), it is a breeze.

Thanks.
koganam is offline  
Reply With Quote
Old 08-24-2009, 03:01 PM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Hamburg / Lueneburg - Germany
Posts: 11,768
Default

koganam, thanks for the suggestion! For NinjaTrader 7 you'll get the opportunity to draw at a very specific time and have more control this way over the placement -> http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
__________________
Bertrand, NinjaTrader Customer Service
NinjaTrader is a FREE application for advanced charting, market analytics, system development and trade simulation.

View schedule of upcoming online product training events.

NinjaTrader_Bertrand is offline  
Reply With Quote
Old 08-24-2009, 03:34 PM   #3
koganam
Member
 
Join Date: Feb 2008
Posts: 46
Default

I did look at that page before I made the suggestion. I have looked again, but I did not really see anything about precision placement of draw objects using NinjaScript. Am I missing something?

Thanks.


Quote:
Originally Posted by NinjaTrader_Bertrand View Post
koganam, thanks for the suggestion! For NinjaTrader 7 you'll get the opportunity to draw at a very specific time and have more control this way over the placement -> http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html
koganam is offline  
Reply With Quote
Old 08-24-2009, 03:55 PM   #4
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Hamburg / Lueneburg - Germany
Posts: 11,768
Default

No, the link just gave general info on features and development status of NT7. I believe the additional info I provided is not listed there....
__________________
Bertrand, NinjaTrader Customer Service
NinjaTrader is a FREE application for advanced charting, market analytics, system development and trade simulation.

View schedule of upcoming online product training events.

NinjaTrader_Bertrand 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
erasing Draw objects velocity General Programming 4 08-22-2009 12:27 PM
not allow to move with draw objects zooinek Indicator Development 1 05-19-2009 10:00 AM
Draw objects vs Plots eDanny Suggestions And Feedback 7 03-25-2009 10:47 AM
Draw Objects SteveB Suggestions And Feedback 1 03-12-2008 07:48 AM
Anchor Draw Objects Mike Winfrey Indicator Development 1 01-28-2008 02:51 PM


All times are GMT -6. The time now is 09:23 AM.