• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 StealthM93, Today, 07:58 PM
                0 responses
                2 views
                0 likes
                Last Post StealthM93  
                Started by Mykro, Today, 11:01 AM
                1 response
                5 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by bauerjj10, Today, 12:24 PM
                1 response
                14 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by Newtrader101, Today, 06:01 PM
                1 response
                7 views
                0 likes
                Last Post NinjaTrader_EricB  
                Started by Steve L, Today, 03:50 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Working...
                X