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 04-21-2008, 08:00 AM   #1
clearpicks
Senior Member
 
Join Date: Jan 2008
Posts: 257
Thanks: 0
Thanked 0 times in 0 posts
Default How to make objects drawn on charts unselectable and unmovable?

My indicators draw quite a few objects on charts. When I use mouse to move charts to the left or to the right, it is very likely the mosue is clicked on such an object and the object (line or text) gets moved instead of the chart being crolled. Only the later action is what I intend to do. When the objects get moved, I have to press "F5" to reload the indicators which is annoying. So is there a flag to mark those objects drawn on charts unmovable?

In eSignal, the lines can be drawn by two sets of APIs: drawLine() and drawLineTool(). Only the lines drawn by the later can be selected and moved.

- Clearpicks
Last edited by clearpicks; 04-21-2008 at 08:03 AM.
clearpicks is offline  
Reply With Quote
Old 04-21-2008, 08:18 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Unfortunately not. We have this on our list for NT7 considerations yet. Thanks for your suggestion though.
NinjaTrader_Dierk 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
Depth for drawn objects cls71 Suggestions And Feedback 1 04-03-2008 01:38 AM
Ablility to save drawn objects on a template ashish Historical NinjaTrader 6.5 Beta Threads 1 03-11-2008 06:54 AM
Remove Drawn Objects MAX Indicator Development 11 09-24-2007 05:13 PM
Handling contract rollovers - to make continous charts RK_trader Charting 5 09-07-2007 06:59 AM
Positioning of Manually Drawn Objects whitmark Charting 1 03-27-2007 05:59 AM


All times are GMT -6. The time now is 02:03 PM.