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 f.saeidi, Today, 11:02 AM
              1 response
              2 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by geotrades1, Today, 10:02 AM
              4 responses
              12 views
              0 likes
              Last Post geotrades1  
              Started by rajendrasubedi2023, Today, 09:50 AM
              3 responses
              16 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by lorem, Today, 09:18 AM
              2 responses
              11 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by geddyisodin, Today, 05:20 AM
              4 responses
              30 views
              0 likes
              Last Post geddyisodin  
              Working...
              X