Announcement

Collapse
No announcement yet.

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 Danila, Today, 04:38 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by sinpeople, Today, 04:38 AM
    0 responses
    7 views
    0 likes
    Last Post sinpeople  
    Started by kiffgj, Today, 04:23 AM
    0 responses
    6 views
    0 likes
    Last Post kiffgj
    by kiffgj
     
    Started by Leeroy_Jenkins, Today, 03:45 AM
    0 responses
    10 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by Realsmooth3, Yesterday, 09:10 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X