Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

User input box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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!

    #2
    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
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      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!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      76 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      43 views
      0 likes
      Last Post PaulMohn  
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      167 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      101 views
      1 like
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      165 views
      2 likes
      Last Post CaptainJack  
      Working...
      X