• 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 Vincere, Today, 04:38 AM
              0 responses
              2 views
              0 likes
              Last Post Vincere
              by Vincere
               
              Started by trader_rick, Today, 04:02 AM
              1 response
              3 views
              0 likes
              Last Post NinjaTrader_ChrisSch  
              Started by percma, Today, 02:51 AM
              0 responses
              5 views
              0 likes
              Last Post percma
              by percma
               
              Started by Abilene, Today, 01:27 AM
              0 responses
              15 views
              0 likes
              Last Post Abilene
              by Abilene
               
              Started by simjs, Yesterday, 08:11 PM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_ChrisSch  
              Working...
              X