• 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

Is it possible to catch and manage an manual order by program in NT8?

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

    Is it possible to catch and manage an manual order by program in NT8?

    Hi,

    I want to know if is possible to catch and manage an manual order by program in NT8. How, if it's possible?

    Thanks,

    Michel

    #2
    Michel,

    Yes, I believe you can do this using the OnOrderUpdate() method. You could use "myOrder = order" and then interact with the order from that point.

    I have been pursuing something similar and have found that as a way to accomplish interacting with manual orders.

    Adam

    Comment


      #3
      Hello Michel,

      Thank you for your post.

      OnOrderUpdate() would not work for manually placed orders in a strategy. You can learn more at the following link: http://ninjatrader.com/support/helpG...rderupdate.htm

      You may look into SuperDOM columns for OnOrderUpdate for manually placed orders: http://ninjatrader.com/support/helpG...rderupdate.htm
      Patrick H.NinjaTrader Customer Service

      Comment


        #4
        Patrick, yes, thank you for the clarification. I have discovered this is only possible with an indicator - the strategy limits you to interacting with only strategy orders, but the indicator (I believe, or at least initial testing shows it is possible) that you CAN capture manual orders as long as you use an indicator to do it, not a strategy.

        Comment


          #5
          Originally posted by armybender View Post
          Patrick, yes, thank you for the clarification. I have discovered this is only possible with an indicator - the strategy limits you to interacting with only strategy orders, but the indicator (I believe, or at least initial testing shows it is possible) that you CAN capture manual orders as long as you use an indicator to do it, not a strategy.
          Can you give me an example?

          Comment


            #6
            I have stopped development on this for the moment, but it boils down to using "Account" - there is another post on the forum that explains it too, but I'm having a hard time finding it.

            Basically, it's something like private override void OnAccountUpdate(Account ac..... something

            I'll let you know if I find this again.

            Comment


              #7
              Hello armybender,

              Thank you for your response.

              What you refer to is from NinjaTrader 7. In NinjaTrader 8 you would access the Account object: http://ninjatrader.com/support/helpG...ount_class.htm
              Patrick H.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Bobbyj78, Today, 02:21 PM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_PatrickG  
              Started by EnveousColnago, Today, 02:10 PM
              1 response
              4 views
              0 likes
              Last Post NinjaTrader_Ariana  
              Started by AMATX, Today, 01:56 PM
              1 response
              13 views
              0 likes
              Last Post NinjaTrader_RyanS  
              Started by Mykro, Today, 01:00 PM
              3 responses
              10 views
              0 likes
              Last Post NinjaTrader_Kate  
              Started by ptertich, Today, 01:37 PM
              2 responses
              10 views
              0 likes
              Last Post NinjaTrader_Tyler  
              Working...
              X