Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Generate ninjaScript

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

    Generate ninjaScript

    Hi,
    i want to generate NinjaScript code for parameters that I am defined in my class which is derived from indicator class. Is it possible? because I have a problem that it generate Ninja Script only those parameter that are created through indicator wizard.

    #2
    Hello rana.irfan,

    Thank you for your post.

    You can create your own parameters using the information at the following link for creating user defined input parameters: http://www.ninjatrader.com/support/f...ead.php?t=5782

    Please let me know if you have any questions.

    Comment


      #3
      It,s ok but sir I want to show this varible in parameter list of my indicator dialog. I want to give value from my indicator dialog.

      Comment


        #4
        Hello,

        Thank you for your response.

        The information at the following link shows exactly how to create a custom user defined input parameter that is viewed from the Parameters section of your indicator: http://www.ninjatrader.com/support/f...ead.php?t=5782

        Comment


          #5
          I want this variable as a parameter of my indicator. is it possible?

          Comment


            #6
            Hello rana.irfan,

            Thank you for your response.

            The following link will take you to a tip that details how to create a variable that can be set within the Parameters section of the Indicator settings when applying the Indicator to a chart: http://www.ninjatrader.com/support/f...ead.php?t=5782

            Comment


              #7
              sir point of my problem is that I create one parameter through wizard this show in dialog box of my indicator but other variable which I create in my class I also want to show this variable in my parameter list of my indicator dialog box but it is not shown in it because the parameter which i create through wizard,Ninjatrader generate ninjaScript code for it ,in what way i generate NinjaScript code for my variable which I defined in class.

              Comment


                #8
                Hello rana.irfan,

                Thank you for your response.

                I have created a video detailing this information at the following link: http://screencast.com/t/M4DmBJ2tJk

                Please review the video and advise if you have any further questions.
                For the Tip I reference in the video please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=5782

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by RideMe, 04-07-2024, 04:54 PM
                6 responses
                31 views
                0 likes
                Last Post RideMe
                by RideMe
                 
                Started by tkaboris, Today, 05:13 PM
                0 responses
                2 views
                0 likes
                Last Post tkaboris  
                Started by GussJ, 03-04-2020, 03:11 PM
                16 responses
                3,281 views
                0 likes
                Last Post Leafcutter  
                Started by WHICKED, Today, 12:45 PM
                2 responses
                19 views
                0 likes
                Last Post WHICKED
                by WHICKED
                 
                Started by Tim-c, Today, 02:10 PM
                1 response
                10 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Working...
                X