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

Difficulty getting this strategy to work

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

    Difficulty getting this strategy to work

    This should be an easy strategy to make right? I'm unable to get it to work right Can someone give me some pointers?


    #2
    Hello 010jay010,

    Thank you for your post.

    Would you be able to provide an example of what you currently have that isn't working? What have you tried already?

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      I tried building a strategy and want to tell it to trade based on trend lines.

      Comment


        #4
        Hello 010jay010,

        Thank you for your note.

        Just to be clear, in platform support, we do not create/write strategies, we do not provide debugging services. While we want to help, our support services will also not be able to provide corrections to your code, or will be able to debug the code for you. We also cannot provide programming education services. In order for us to assist, we will need to know your exact issue, with a complete and simplified example. If you would like the strategy created for you, we can provide references to 3rd party programmers who could meet your needs.

        If you like I would be glad to review any Strategy Builder conditions you have created or code you have written and provide direction to help you achieve your goal.

        If you are wanting to learn NinjaScript and code this yourself, I would be happy to provide resources.

        The best way to begin learning NinjaScript is to use the Strategy Builder. With the Strategy Builder you can setup conditions and variables and then see the generated code in the NinjaScript Editor by clicking the View Code button.

        I'm also providing a link to a pre-recorded set of videos 'Strategy Builder 301' and 'NinjaScript Editor 401' for you to view at your own convenience.

        Strategy Builder 301

        NinjaScript Editor 401

        If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our NT7 help guide first:

        Basic Programming Concepts

        For general C# education I have personally found Dot Net Perls to be a great reference site with easy to understand examples.

        Browse examples for many languages, with explanations and code side by side for easy understanding.


        There are a few Sample Automated Strategies which come pre-configured in NinjaTrader that you can use as a starting point. These are found under New -> NinjaScript Editor -> Strategy. You will see locked strategies where you can see the details of the code, but you will not be able to edit (you can though always create copies you can later edit via right click > Save as)

        We also have some Reference samples online as well as ‘Tips and Tricks’ for both indicators and strategies:

        Click here to see our NinjaScript Reference Samples
        Click here to see our NinjaScript Tips

        These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.

        Further, the following link is to our help guide with an alphabetical reference list to all supported methods, properties, and objects that are used in NinjaScript.

        Alphabetical Reference

        And our Educational Resources in the NinjaTrader 8 help guide.

        Educational Resources

        A set of specific tutorials for creating conditions in the NinjaTrader 8 Strategy Builder in the NinjaTrader 8 help guide - this is very useful to set up conditions comparing the current price to specific values, like trend line values.

        Condition Builder

        As I mentioned previously you can also contact one of our professional NinjaScript Consultants or Educators who would be eager to create or modify this script at your request or assist you with your script. Please let me know if you would like a list of professional NinjaScript Consultants or Educators who would be happy to create or modify any script at your request or assist you in learning NinjaScript.

        Please let me know if I may be of further assistance.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          Please refer me to a programmer who can write a code.

          Comment


            #6
            Hello 010jay010,

            This is Patrick from the NinjaTrader Business Development team responding on behalf of my colleague.

            You can search our extensive library of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more:
            You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

            Let me know if I may be of further assistance

            The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The companies and services listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem, LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by hazylizard, Today, 08:38 AM
            2 responses
            9 views
            0 likes
            Last Post hazylizard  
            Started by geddyisodin, Today, 05:20 AM
            2 responses
            18 views
            0 likes
            Last Post geddyisodin  
            Started by Max238, Today, 01:28 AM
            5 responses
            47 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by giulyko00, Yesterday, 12:03 PM
            3 responses
            13 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by habeebft, Today, 07:27 AM
            1 response
            16 views
            0 likes
            Last Post NinjaTrader_ChristopherS  
            Working...
            X