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 05-04-2009, 02:04 PM   #1
msamadov
Junior Member
 
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 times in 0 posts
Default Index values do not display

Hi,

I am trying to build the indicator which would calculates the slope of the line connecting highest highs of the current and previous periods.
for ex., for current highest high I have

hi1=MAX(High,period)[0]
but when NT can't calculate the value of the similar formula
hi2=MAX(High,period)[period]

Moreover, for some strange reason, my NT installation can't even fetch data for Close[10] or Low[10]

what am I doing wrong?
msamadov is offline  
Reply With Quote
Old 05-04-2009, 02:10 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

msamadov,

Please see this tip: http://www.ninjatrader-support2.com/...ead.php?t=3170
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
.Reset() plots close values, not null values ninja.man General Programming 3 02-23-2009 03:41 PM
some help with an index miketpcc2 General Programming 1 07-18-2008 11:24 AM
Can indicators return values other than Plot values? higler General Programming 2 04-29-2008 05:17 AM
Display Instrument values on chart tquinn General Programming 3 01-28-2007 12:30 PM
Symbol Mapping - stock index to futures index contract tmd Automated Trading 9 12-07-2006 09:53 AM


All times are GMT -6. The time now is 11:58 PM.