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 09-21-2010, 02:02 PM   #1
UManiac
Junior Member
 
Join Date: Sep 2010
Location: Mobile, Alabama
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default User input box

All,

I am a programmer who was recently introduced to coding indicators

I am used to displaying data and receiving input from a user via a user input tool such as a message box.

My question is, is there such a tool when coding indicators? I would like to ask the user questions to gather the data and use it in a program but need to know the syntax of an input box.

a friend told me that what I am looking to do would probably require c# (which is no problem) therefore does anyone have any c# source code that I could look at to get an idea of how to gather user input via a dialog box?

conversely, could someone provide a link to a viable code source for NinjaScript?

any help is most appreciated

Thank you in advance!
UManiac is offline  
Reply With Quote
Old 09-21-2010, 02:15 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

UManiac,

What you want to do is open the Output Window under the Tools menu. Then to bring output into there, in your code just use Print("some string");

Perhaps this tip can give you some hints: http://www.ninjatrader.com/support/f...ead.php?t=3418
NinjaTrader_Josh is offline  
Reply With Quote
Old 09-21-2010, 02:28 PM   #3
UManiac
Junior Member
 
Join Date: Sep 2010
Location: Mobile, Alabama
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
UManiac,

What you want to do is open the Output Window under the Tools menu. Then to bring output into there, in your code just use Print("some string");

Perhaps this tip can give you some hints: http://www.ninjatrader.com/support/f...ead.php?t=3418
thank you so much for the tip!
UManiac 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
User Input exception symphys General Programming 1 02-25-2010 07:03 AM
User Defined Input Parameters erikp Suggestions And Feedback 6 10-04-2009 10:02 AM
user defined input in condition Pokert Automated Trading 8 02-04-2009 07:34 AM
DataSeries as User Input SystemTrading Strategy Development 3 02-03-2009 10:39 AM
how to changing user input value easier MoreYummy Automated Trading 0 08-31-2008 10:34 PM


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