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

Managed Unmanaged Approach

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

    Managed Unmanaged Approach

    Hi NT Team,

    excuse my naive question:

    can I use a mix of managed and unmanaged orders in a single strategy?

    #2
    Hi Sburtt,

    Thank you for posting.

    Unfortunately, you cannot have a mix of Managed and Unmanaged orders in a single strategy.

    You will need to choose which order approach you would like to use.

    See the link below on Order Methods for NinjaScript to get a full understanding of the approaches and what to expect.
    http://www.ninjatrader.com/support/h...er_methods.htm

    Please let me know if I can be of further assistance
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      what about EntryHandling would this work in the unmanaged approach?

      Comment


        #4
        Hi Sburtt,

        Unfortunately, the Unmanaged approach does not utilize the EntryHandling properties, EntriesPerDirection and EntryHandling, and therefore would not work.

        You can, however, use signal names like BarsSinceEntry() and BarsSinceExit() instead.

        Please see the Unmanaged section of the help guide.
        http://www.ninjatrader.com/support/h...d_approach.htm

        Please let me know if I can be of further assistance.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by sburtt View Post
          what about EntryHandling would this work in the unmanaged approach?
          In the unmanaged order system, the EntryHandling is almost perforce by unique entries anyway. To handle the Entries per direction should be not too difficult to code. Here is one way.
          Code:
           
          private int MaxEntries = 3;
          Code:
          //do we want to enter a new order?
          if (Position.Quantity < MaxEntries)
          {
          //entries allowed here
          }
          Last edited by koganam; 05-22-2013, 03:26 PM. Reason: Corrected spelling.

          Comment


            #6
            All thanks for your reply. This is clear now.

            I think i might have been confused. I am not using the unmanaged approach, but rather the advance order handling within the mamanged approach, hence i suppose EntryHandling should still work in my case, please advise if this is incorrect.

            Furthermore, i should refrase my original question: is it possible to use a mix of advanced orders (IOrder) and standard orders ( in theory both managed approach) in a single strategy?

            Thanks in advance for your assistance

            Comment


              #7
              Originally posted by sburtt View Post
              All thanks for your reply. This is clear now.

              I think i might have been confused. I am not using the unmanaged approach, but rather the advance order handling within the mamanged approach, hence i suppose EntryHandling should still work in my case, please advise if this is incorrect.

              Furthermore, i should refrase my original question: is it possible to use a mix of advanced orders (IOrder) and standard orders ( in theory both managed approach) in a single strategy?

              Thanks in advance for your assistance
              All orders are IOrders. You may simply choose not to explicitly name your orders.

              Comment


                #8
                Hi Sburtt,

                Yes, it is possible to use a mix of the Advanced Order handling with the Managed Approach in a single strategy.

                Please let me know if I can be of further assistance.
                Cal H.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Perr0Grande, Today, 08:16 PM
                0 responses
                2 views
                0 likes
                Last Post Perr0Grande  
                Started by elderan, Today, 08:03 PM
                0 responses
                5 views
                0 likes
                Last Post elderan
                by elderan
                 
                Started by algospoke, Today, 06:40 PM
                0 responses
                10 views
                0 likes
                Last Post algospoke  
                Started by maybeimnotrader, Today, 05:46 PM
                0 responses
                11 views
                0 likes
                Last Post maybeimnotrader  
                Started by quantismo, Today, 05:13 PM
                0 responses
                7 views
                0 likes
                Last Post quantismo  
                Working...
                X