Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Automatically close Limit order (unfilled state) when specified price is hit?

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

    Automatically close Limit order (unfilled state) when specified price is hit?

    Hi all,
    My strategy calls for me to set limit orders better than current price, in hope that price comes back around to fill my order.
    In the event price never comes back but instead goes to my Target Profit level, I want my unfilled limit order to automatically close when that specified Target Profit price is reached.
    Is there any ready function available to help me execute the automatic closure mentioned? Thank you all!

    #2
    Hello kuokzhiqiang,

    Thank you for the message.

    Are you working on a NinjaScript Strategy that you created yourself of one that you got from a friend or 3rd party developer?
    • If you got this NinjaScript Strategy from a 3rd party developer, you will need to reach out to them for further help and information on how to modify the NinjaScript Strategy as desired.

    If you created this NinjaScript Strategy on your own, please let us know so we may move this post to the appropriate location in the Forum and so that the NinjaScripting team may provide further assistance.
    • This is the Platform Technical Support section of the Forum.
    • We have the Indicator Development and Strategy Development sections for questions about building and working on NinjaScript Strategies.
    We look forward to your response.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    39 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    19 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    26 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Working...
    X