NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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 > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-02-2012, 06:15 PM   #1
deterministic
Junior Member
 
Join Date: Mar 2012
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default Finding Chart Draw/ChartObject Source

I am having some trouble understanding how to access an item drawn on the chart by a custom indicator I am adding from my Strategy. I do not have the source for the indicator, and the exposed Plots are of no use in automation.

I have been through all of the suggested methods I could find searching the forums;

Iterating over ChartControl.ChartObjects, attempting to access the DrawObjects of the Indicator, etc.

When I double click the item I am trying to detect (an up or down arrow drawn above a bar), NT is able to associate it to the Indicator somehow, as it brings up the Indicator list showing the one that created it highlighted.

I am trying to find where this link exists, from what I can gather the arrow is being drawn in the overridden Plot method.
deterministic is offline  
Reply With Quote
Old 04-03-2012, 03:29 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Welcome to our forums deterministic - best option here woul be checking with the creator of the 3rd party study and asking if they have perhaps a more automation friendly version available for you to use as well.

What tag value is associated with the object drawn on your chart?
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
ChartObject Attach To saltminer General Programming 1 03-14-2011 08:28 AM
Chart Trader source TNixon General Programming 4 01-23-2011 11:44 AM
Empty Chart with Simulator as Data Source Blue Waters Charting 2 01-10-2011 07:06 PM
Finding a Spread/Ratio Chart blkout101 General Programming 3 11-25-2009 05:26 AM
finding the symbol used in ninja trader's chart MoreYummy Charting 8 04-15-2009 09:21 PM


All times are GMT -6. The time now is 03:42 AM.