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 samish18, Today, 11:26 AM
    0 responses
    1 view
    0 likes
    Last Post samish18  
    Started by Trader146, 03-29-2024, 01:22 PM
    2 responses
    14 views
    0 likes
    Last Post Trader146  
    Started by tsantospinto, 04-12-2024, 07:04 PM
    7 responses
    126 views
    0 likes
    Last Post aligator  
    Started by futtrader, 04-21-2024, 01:50 AM
    5 responses
    56 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by PeakTry, Today, 10:49 AM
    0 responses
    2 views
    0 likes
    Last Post PeakTry
    by PeakTry
     
    Working...
    X