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 > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 03-09-2009, 12:52 PM   #1
fredx
Junior Member
 
Join Date: Jul 2008
Posts: 1
Thanks: 0
Thanked 0 times in 0 posts
Default How can I use an instrument as Indicator

Let's say I want to use APPL current price as an indicator. How can i implement that?
Thanks in advance.
Last edited by fredx; 03-09-2009 at 12:57 PM.
fredx is offline  
Reply With Quote
Old 03-09-2009, 01:04 PM   #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

Hi fredx, welcome to our support forums!

Please clarify your request a bit - since you have already loaded the data in a chart the basic 'indication' is present.

To access the closing price data you can use Close - http://www.ninjatrader-support.com/H...eV6/Close.html

To work with it in the context of another symbol, you want to look into creating a multi instrument strategy - http://www.ninjatrader-support.com/H...struments.html
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 03-09-2009, 08:41 PM   #3
styr_trader
Junior Member
 
Join Date: Feb 2008
Posts: 21
Thanks: 0
Thanked 0 times in 0 posts
Default

the same question. Yes, it is discussed that it is possible to use strategy to plot another intrument as indicator, but I belive in this case chart trader is not working. Is it correct?
styr_trader is offline  
Reply With Quote
Old 03-10-2009, 05:16 AM   #4
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

Correct styr_trader, you could however open up another chart without the strategy to applied to use the ChartTrader feature.
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
Multiple Instrument Indicator Kunisoft Indicator Development 12 04-14-2010 09:06 AM
draw the volume of another instrument as indicator clearpicks Indicator Development 1 01-15-2009 04:41 AM
Multi Instrument Indicator Request duck_CA Indicator Development 4 12-14-2008 11:49 AM
Is it possible to write a multi-instrument indicator? CraigC Indicator Development 3 06-18-2008 01:55 AM
Change instrument via an indicator pkinoc Charting 3 05-21-2008 01:08 AM


All times are GMT -6. The time now is 08:05 AM.