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

Simplest of questions.

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

    #46
    Calling a strategy within a different strategy

    For the sake of efficiency, and to avoid having to cut and paste into lots and lots of different strategy combos, is there a way to call strategies from within a strategy?

    For example, if I have a strategy with a buy signal, but want to use a risk management method that will be used by other buy signals, can the risk management method be put in a separate strategy so I don't have to keep cutting and pasting it into the different buy signals? For that matter, can I separate out all the different components so that I can put them together as I please.

    If the answer is yes, I would also greatly appreciate a link to other posts, references or examples.

    Many thanks in advance.

    Comment


      #47
      What you want to do is create user defined methods as outlined here: http://www.ninjatrader-support.com/H...tml?Overview45

      Samples:

      Josh P.NinjaTrader Customer Service

      Comment


        #48
        Historical Data

        Thanks for the answer below, Josh.

        ---

        My next question to anyone who is able to answer it is - why do I get an error when I try to pull up a chart of the March 08 contract of the ES with the actively traded dates? It gives me an "Error - You need to select an instrument". Something similar happens when I try to merge the March contract into the June.

        Thanks.

        Comment


          #49
          8DTK8,

          We would appreciate it if you ask unrelated questions in a new thread. Please go to Tools->Options->Misc->Reset Instruments. See if that helps.
          Last edited by NinjaTrader_JoshP; 10-07-2008, 08:11 AM.
          Josh P.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Segwin, 05-07-2018, 02:15 PM
          14 responses
          1,788 views
          0 likes
          Last Post aligator  
          Started by Jimmyk, 01-26-2018, 05:19 AM
          6 responses
          837 views
          0 likes
          Last Post emuns
          by emuns
           
          Started by jxs_xrj, 01-12-2020, 09:49 AM
          6 responses
          3,293 views
          1 like
          Last Post jgualdronc  
          Started by Touch-Ups, Today, 10:36 AM
          0 responses
          12 views
          0 likes
          Last Post Touch-Ups  
          Started by geddyisodin, 04-25-2024, 05:20 AM
          11 responses
          62 views
          0 likes
          Last Post halgo_boulder  
          Working...
          X