Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Moving OCO manually from a strategy entry

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

    Moving OCO manually from a strategy entry

    Our strategy enters an order and then places an OCO but if the user manually interacts with that order by adjusting either the Profit or Stop in the SuperDom, the system appears to reset it back to the original values despite the OnOrderUpdate firing and successfully changing it.

    How should we prevent NT8 from returning the order back to the original value?


    Also, I personally feel the SuperDom should distinguish visually between orders entered by the user and ones by the strategy. It would also be hugely beneficial to allow us to receive events for all orders via another event like OnOrderGlobalUpdate or something.

    #2
    Hello MarketAlly,

    Thank you for your note.

    I will put in a feature request for orders on the super dom to be colored depending on manually vs programmatically submitted.

    If you wanted to interact with the strategy orders and avoid having them reset, you should use ATM Strategy Methods. Please see the following section of our helpguide,


    You can also see the sample ATM strategy preloaded with NinjaTrader under ControlCenter>Tools>NinjaScript Editor and the strategies folder.

    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    21 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X