![]() |
|
|||||||
| ATM Strategies (Discretionary Trading) Support for Advanced Trade Management, AutoTrail, AutoBreakeven, Stop Strategy and Simulated Stops etc... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Mar 2009
Posts: 9
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
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
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |