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

Where to adapt pre-written script?

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

    Where to adapt pre-written script?

    Hi,
    as you can see in the picture there is a prewritten script on the left hand side.. How to apply it in to the programme on the right hand side?


    thank you,
    Zdena.
    Attached Files

    #2
    Hello Zdena,

    Thank you for your post.

    If you have the complete code you can select all the code from the original, copy it, and then select all the code in the NinjaScript editor and paste the original code in. You will then need to compile (press F5 on your keyboard) the code and if there are errors generated you will have to debug from there.

    Information on debugging your NinjaScript code please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=3418

    Pasting in code from outside the NinjaScript Editor will require knowledge of the structure of indicators in NinjaScript. Information on developing indicators can be found at the following link: http://www.ninjatrader.com/support/h...indicators.htm

    Please let me know if I may be of further assistance.

    Comment


      #3
      Hi, thanks for your help.
      I don't have the full code. In the picture is just what I have...I don't understand programming at all (I'm pretty blonde about this kind of things), so any kind of help would be helpful..
      The problem is just about how to adapt "any code" to NT to point out on charts where CCI14 crosses 0 and CCI50 crosses -100..to give me clear signals. Nothing else. But I don't know how to...

      Z

      Comment


        #4
        The code should be very simple:

        Crosses Above (CCI (Close , 50) , -100) And Crosses Above (CCI (Close , 14) , 0)

        For the start I need to know how to apply the above code to NT and how to make it indicator of it.. Then I would be able to change the values manually (I know how to, that's the only thing I know here).

        Thank you,
        Zdena
        Last edited by ZdenaVyzila; 04-17-2012, 07:06 AM.

        Comment


          #5
          Hello Zdena,

          Thank you for your response.

          We have tutorials available which can help you learn the building blocks of programming in NinjaScript. You can find these tutorials at the following link: http://www.ninjatrader.com/support/h.../tutorials.htm

          The Strategy Wizard is a great feature of NinjaTrader that allows you to set up conditions and actions through a User Interface rather than hard coding. Information on the Strategy Wizard can be found at the following link: http://www.ninjatrader.com/support/h...egy_wizard.htm

          For a video on our Automated Strategy Development Webinar please visit the following link: http://youtu.be/fVFqw5W8uGI

          Please let me know if I may be of further assistance.

          Comment


            #6
            im totally lost

            I'm totally lost.

            Comment


              #7
              Hello Zdena,

              Thank you for your response.

              If you have limited programming capabilities, you can discuss your requirements with any of our NinjaScript consultants.
              Click here for a list of certified NinjaScript Consultants
              If you have any specific questions I can provide further assistance.

              Please let me know if I may be of further assistance.

              Comment


                #8
                As almost all blonde girls I have limited programming capabilities.. But it doesn't change the fact that I tried to programme it as a strategy and IT works!!!! I'm stupid, but I'm clever, too!!!

                Thank you for your interest,
                Zdena

                Comment


                  #9
                  Hello Zdena,

                  I am glad you were able to resolve this matter.

                  Please let me know if I may be of further assistance.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by bortz, 11-06-2023, 08:04 AM
                  47 responses
                  1,604 views
                  0 likes
                  Last Post aligator  
                  Started by jaybedreamin, Today, 05:56 PM
                  0 responses
                  8 views
                  0 likes
                  Last Post jaybedreamin  
                  Started by DJ888, 04-16-2024, 06:09 PM
                  6 responses
                  18 views
                  0 likes
                  Last Post DJ888
                  by DJ888
                   
                  Started by Jon17, Today, 04:33 PM
                  0 responses
                  4 views
                  0 likes
                  Last Post Jon17
                  by Jon17
                   
                  Started by Javierw.ok, Today, 04:12 PM
                  0 responses
                  13 views
                  0 likes
                  Last Post Javierw.ok  
                  Working...
                  X