Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question about restart strategy

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

    Question about restart strategy

    When I strategy stop and after it run the strategy
    (strategy enable/disable on the menu),
    all stop orders canceled. Is it possible to somehow prevent this?

    Variable Position.MarketPosition == MarketPosition.Flat although
    on the market were open positions. How so?

    I would like to restart the strategy watered
    the current state of the market. It is possible to develop?

    Notice: I use unmanaged mode.

    #2
    Hello Svopex,

    Thank you for your post.

    This is the default function of the Strategies. When the strategy is disabled it will cancel any working orders.

    Position.MarketPosition == MarketPosition.Flat
    This is designed to test the market position to the strategys' current position.

    I would like to restart the strategy watered
    the current state of the market. It is possible to develop?


    Are you referring to syncing up your strategy to your accounts' position?
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      There is a boolean property named ExitOnClose on Strategy Analyzer

      Comment


        #4
        Yes.
        I want to syncing up my strategy to my accounts' position.

        Comment


          #5
          My idea is to synchronize state strategy with the current state of orders in the market. In other programs (such as MultiCharts) is it possible,

          I want to if I strategy turn off and after it turn on, strategy manage trade still as nothing had happened.

          I thought it would be good because of internet failure, etc..
          Now, after breaking the internet line with the market strategy,
          is necessary to close the position by hand.

          Comment


            #6
            I found it in help:



            Thank petr

            Comment


              #7
              Peter,

              Thanks!

              I also highly recommend that you take a look at the sync account positions as well.
              http://www.ninjatrader.com/support/h..._positions.htm
              Cal H.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              117 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              166 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              85 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              130 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              88 views
              0 likes
              Last Post PaulMohn  
              Working...
              X