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 geddyisodin, Today, 05:20 AM
              3 responses
              20 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by lorem, Today, 09:18 AM
              1 response
              4 views
              0 likes
              Last Post lorem
              by lorem
               
              Started by bmartz, Today, 09:30 AM
              0 responses
              3 views
              0 likes
              Last Post bmartz
              by bmartz
               
              Started by GussJ, 03-04-2020, 03:11 PM
              14 responses
              3,245 views
              0 likes
              Last Post GussJ
              by GussJ
               
              Started by ArkansasClint, Today, 09:28 AM
              0 responses
              0 views
              0 likes
              Last Post ArkansasClint  
              Working...
              X