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 > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 07-25-2008, 09:18 PM   #1
shortorlong
Member
 
Join Date: Feb 2008
Posts: 39
Thanks: 0
Thanked 0 times in 0 posts
Default Mouse Event

I want to be able to click a bar and find out the high / low / vol traded, etc in my indicator - is this possible?

I'd like to be able to click bars, capture the ohlc for each bar, and print it / record it, etc.

Possible?
shortorlong is offline  
Reply With Quote
Old 07-25-2008, 10:47 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Maybe you can try using the Data Box. Press Ctrl+D.
NinjaTrader_Josh is offline  
Reply With Quote
Old 07-26-2008, 11:50 AM   #3
shortorlong
Member
 
Join Date: Feb 2008
Posts: 39
Thanks: 0
Thanked 0 times in 0 posts
Default

Yeah, data box is good but I'd like to be able to access that data in code (in an indicator). Is it possible for an indicator to respond to mouse clicks on bars?
shortorlong is offline  
Reply With Quote
Old 07-26-2008, 11:59 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Unfortunately this is not supported. It may be possible with some more advanced C# programming, but it is beyond the scope of what we can cover here in the forums.

I vaguely remember there were some posts earlier about Mouse Events in C#. You may try searching the forums for them.
NinjaTrader_Josh 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
MouseMove event cls71 General Programming 34 11-24-2010 06:44 AM
event-driven methods? mktrend General Programming 8 04-29-2008 06:17 AM
Order Event Warning Moda1 Miscellaneous Support 4 02-14-2008 09:44 AM
Live Events - Seen After the Event jstockman Miscellaneous Support 3 09-26-2007 04:37 PM
Chaining strategy and event afifio ATM Strategies (Discretionary Trading) 6 06-26-2005 01:52 PM


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