• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 ralett, Today, 11:28 AM
    0 responses
    1 view
    0 likes
    Last Post ralett
    by ralett
     
    Started by ChazJ, Today, 09:59 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Irukandji, Today, 09:34 AM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by lunardiplomacy, Today, 08:32 AM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Started by ralett, Today, 08:24 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_PatrickG  
    Working...
    X