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

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

Reply
 
Thread Tools Display Modes
Old 09-26-2008, 09:17 AM   #1
rd_falcon
Member
 
Join Date: Apr 2008
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default Print indicator value

Hi, I am trying to retrieve the values of an indicator so that I can copy them into excel to compare with the securities trading price to see if I can develop a strategy with that information. I made a strategy that just says on bar update, print the stochastic value. I then ran this against tick data for 6 months, and I got 128,000 numbers. The problem is, when I exported the tick data from ninja trader for the same time period, it had over 1 million tick changes, so shouldn't I have the same number for the stochastic output?
rd_falcon is offline  
Reply With Quote
Old 09-26-2008, 09:27 AM   #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

The Output Window may not cache the whole set. Instead you can try having your indicator write out to a file directly. Please see this reference sample: http://www.ninjatrader-support.com/v...ead.php?t=3477
NinjaTrader_Josh is offline  
Reply With Quote
Old 09-26-2008, 09:28 AM   #3
rd_falcon
Member
 
Join Date: Apr 2008
Posts: 31
Thanks: 0
Thanked 0 times in 0 posts
Default

Ah, that is exactly what I am after. Thanks for your help!
rd_falcon 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
Print Triangle at MA Crossover cutter Indicator Development 9 05-30-2009 03:45 AM
Print() not working tradefaz General Programming 2 08-28-2008 12:42 AM
Print() WDieter General Programming 2 05-23-2008 10:55 AM
Very Starnge outputs between Print & File!? mktrend Automated Trading 2 04-10-2008 03:12 PM
Print() and INT() doesn't work. Jenny Strategy Development 8 07-26-2007 05:47 PM


All times are GMT -6. The time now is 11:36 AM.