NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > ATM Strategies (Discretionary Trading)

ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc...

Reply
 
Thread Tools Display Modes
Old 04-14-2011, 01:53 PM   #1
LLO9999
Junior Member
 
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
Default Access an indicator text output in a script

I'm using an indicator that I didn't write. I have written a Ninja Strategy script that accesses and uses the levels that are plotted on the chart by the indicator. I figured out the variable names to use in the script by looking at the indicator properties box. The indicator also plots a number above each bar that I would like to use as well in my script. I can't figure out how to get the value of that number and use it in my script. When I right click on the number and click properties, it opens the Text Properties box and shows the number. When I click the Data Tab, I get a Tag, Time and Y position. Surely I can reference the Tag somehow in my script but how?
Thanks,
Len
LLO9999 is offline  
Reply With Quote
Old 04-14-2011, 02:03 PM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hi Len,

You can access indicator plots from your strategy without requiring additional code within the indicator.

For any other value, you will need to be able to open the source code for the indicator and make small modifications according to this sample:
http://www.ninjatrader.com/support/f...ead.php?t=4991
NinjaTrader_RyanM 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
Access Chart Title or indicator string applied to chart in script SigLogic Indicator Development 2 04-14-2011 06:54 PM
Position Data Access within a Script or Indicator bhawk Strategy Development 3 05-17-2010 08:09 AM
Colored text in output window? heech Strategy Development 1 03-03-2009 10:02 AM
Output window text kenzo Strategy Analyzer 3 12-12-2008 10:30 AM
New line for each text output ericadam Indicator Development 12 10-13-2008 10:10 AM


All times are GMT -6. The time now is 12:51 PM.