Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Help to develop a code

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

    Help to develop a code

    Hello guys,

    I have a strategy in mind that I would like to develop but I do not know from where to start: I have programming knowledge but this one might be difficult. I would like to try it on my own and I need a little bit of help from you.

    Here are the basic features of my strategy:
    • My Strategy is based on the movements of a pair of stocks.
    • The strategy follows the price action of these 2 stocks based on the number of ATRs up or down.
    • Graphs must be colored based on price action (Main trend, rally, etc.)
    • Entry points are based on the number up or down following a previous top or bottom
    I was wondering if somebody could indicate me a basic (free) NT strategy based on similar elements that I could further develop?

    Thanks a lot,

    Manuel

    #2
    Hello Manuel17,

    Thank you for your post.

    I am not aware of such a strategy. For the majority of the strategy you are going to need to be familiar with using multiple instruments in your code, you can find information on this at the following link: http://www.ninjatrader.com/support/h...nstruments.htm
    For coloring the bars you would use BarColor: http://www.ninjatrader.com/support/h...7/barcolor.htm

    We have a fully documented help guide which will help you get started with Ninja Script. You will find language references to all of the methods and functions you will be using. You will also see a tutorial section which will help you create your first indicator and get you started with some of these concepts.
    A link to our Help Guide can be found below: http://www.ninjatrader.com/support/h...stribution.htm

    I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript: http://www.ninjatrader.com/support/h..._resources.htm

    You will find Reference Samples online as well as some Tips and Tricks for both indicators and strategies:
    Click here to see our NinjaScript Reference Samples: http://www.ninjatrader.com/support/f...splay.php?f=30
    Click here to see our NinjaScript Tips: http://www.ninjatrader.com/support/f...ead.php?t=3229

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

    There is a also a growing library of user submitted custom indicators (100+) that can be downloaded from our support form. Please look in the NinjaScript File Sharing section of our support forum as you may find what you are looking for there: http://www.ninjatrader.com/support/f...splay.php?f=37

    If you have limited time or programming capabilities, you can discuss your requirements with any of our certified NinjaScript consultants.
    Click here for a list of certified NinjaScript Consultants: http://www.ninjatrader.com/Ecosystem/NonBroker.php#81

    Please let me know if you have any questions.

    Comment


      #3
      Thanks a lot for all this info Patrick. I am going to review it carefully!

      Best regards,

      Manuel

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      567 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      330 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      547 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      548 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X