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

Manual closing ATM position, generated by strategy, terminated strategy.

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

    Manual closing ATM position, generated by strategy, terminated strategy.

    Hello.
    I made strategy.
    Strategy generates ATM stop entry order.
    I can cancel this order and strategy stay active.

    But, after orders filled, manually closing opened position (button "Close" on ChartTrader) terminate strategy (with no errors in OutputWindow, but with standard message: Disabling NinjaScript strategy 'sNinjaBars_Follower/118308815').

    I this normal behaviour?
    How to cancel ATM position manually and keep strategy alive?
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    Hello fx.practic,

    Thanks for writing in to our Support team.

    It is expected that manually closing your position by pressing the Close button would terminate your automated strategy.

    A NinjaScript strategy is a self contained automated trading system and orders generated are live. If you want to manually cancel an order or close a position, terminate the strategy first. You may re-enable the strategy after terminating it by toggling the Enabled parameter back to true from false.

    If you only want to close the ATM's position manually rather than your entire account position, you can accomplish this by clicking on the close button with your middle mouse button instead of the left mouse button. This will leave your automated strategy active while only closing your ATM strategy position.

    Additionally, if your profit target or stop orders are still active you could move your profit target manually to close the position being managed by your ATM strategy.

    Please let me know if I may be of any further assistance.
    Alan S.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Rapine Heihei, Today, 08:19 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 08:25 PM
    0 responses
    5 views
    0 likes
    Last Post Rapine Heihei  
    Started by f.saeidi, Today, 08:01 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by Rapine Heihei, Today, 07:51 PM
    0 responses
    6 views
    0 likes
    Last Post Rapine Heihei  
    Started by frslvr, 04-11-2024, 07:26 AM
    5 responses
    98 views
    1 like
    Last Post caryc123  
    Working...
    X