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

      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

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by elirion, Today, 01:36 AM
              0 responses
              3 views
              0 likes
              Last Post elirion
              by elirion
               
              Started by gentlebenthebear, Today, 01:30 AM
              0 responses
              4 views
              0 likes
              Last Post gentlebenthebear  
              Started by samish18, Yesterday, 08:31 AM
              2 responses
              9 views
              0 likes
              Last Post elirion
              by elirion
               
              Started by Mestor, 03-10-2023, 01:50 AM
              16 responses
              389 views
              0 likes
              Last Post z.franck  
              Started by rtwave, 04-12-2024, 09:30 AM
              4 responses
              34 views
              0 likes
              Last Post rtwave
              by rtwave
               
              Working...
              X