• 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 sgordet, Today, 10:44 AM
    0 responses
    1 view
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Parmenides48, Today, 08:37 AM
    1 response
    11 views
    0 likes
    Last Post Emma1
    by Emma1
     
    Started by EnveousColnago, 08-06-2020, 08:31 AM
    8 responses
    39 views
    0 likes
    Last Post Emma1
    by Emma1
     
    Started by dieci, Today, 08:50 AM
    0 responses
    2 views
    0 likes
    Last Post dieci
    by dieci
     
    Started by sabankaradeniz, 05-05-2020, 03:49 AM
    4 responses
    544 views
    1 like
    Last Post tornadoatc  
    Working...
    X