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 Island_Boy_Trading, Today, 07:39 AM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by cmarkb, Today, 07:19 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by wjadevries, Today, 03:29 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by Oracletrades, Yesterday, 09:10 PM
    1 response
    119 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by ginx10k, Today, 07:04 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X