Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

SetProfitTarget orders gone when disabling strategy

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

    SetProfitTarget orders gone when disabling strategy

    When my automated strategy has entered a position, for example long EURUSD 1.1350. And I have a SetProfitTarget at 1.1400. When I disable the strategy, quit Ninjatrader, restart and enable the strategy again, the Pending Orders don't re-appear.

    How do I enable so that the strategy fully comes back to the prior state as before restarting? I have already tried setting the "Immediately submit live working orders" and "Sync Account Position True" but both don't make a difference.

    Please help.

    #2
    Hello Siroki,

    When you restart the strategy does it see itself in an open position? Check the Strategy Performance for this, Right click on the strategy -> Strategy Performance -> Historical
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hello Cal,

      No it does not see itself in an open position under Strategy Performance. When enable the strategy I do see the position / average price etc under the Strategies tab. When I enable "wait for flat before submitting orders" the strategy turns yellow.

      But both cases do not see the strategy as in a position.

      Should NT, under normal circumstances resubmit pending orders when the strategy and account positions are aligned?
      Last edited by siroki; 02-18-2015, 03:26 PM.

      Comment


        #4
        Siroki,

        I think you are getting a little bit different calculation results from the strategy when it is being enabled again from the restart and why you are seeing this cause.

        I would test by adding Prints() for when your conditions are true and see where the discrepancy is coming from.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mongo, Today, 11:05 AM
        3 responses
        11 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by traderqz, Today, 12:06 AM
        6 responses
        13 views
        0 likes
        Last Post traderqz  
        Started by Skifree, Today, 03:41 AM
        4 responses
        13 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by traderqz, Yesterday, 09:06 AM
        5 responses
        34 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by guillembm, Today, 11:25 AM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X