Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orders

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

    #16
    Okay, thanks,
    I'll put in the "If Historical" coding, and see what gives.
    Jim

    Comment


      #17
      One other thing that I wonder is affecting me.
      I found this in help files:

      Interal Order Handling Rules that Reduce Unwanted Positions
      <LI class=rvps1>The strategy position is flat and an order submitted by an enter method (EnterLongLimit() for example) is active
      This makes it sound like you can't have a breakout stop order to go either long or short entered at the same time, which is what my strategy calls for.
      Am I missing something.
      It seems that you should be able to be flat, and have both stop enter orders working.
      JM

      Comment


        #18
        The problem is not historical data, as placing the If Historical code in the strategy keeps the strategy from placing any orders.
        The problem is definitely the internal order handling rule of not being able to have but one entry order in place while flat, which makes it impossible to do a breakout strategy based on whichever way the market breaks, and this was not a problem with version 6.
        I think it would cause difficulty for developing a reversal strategy also, and I for one believe this needs to be changed.

        Comment


          #19
          This will not be changed. You can monitor for a breakout and then submit market orders. The problem with 6.0 implementation is that we submit live orders to the market. If you have two entry orders in place, some people would get filled on both orders and that would seriously throw off internal logic of a strategy plus put the strategy in an unwanted position.

          Alternatively you can run two separate strategies, one for long one for short.
          RayNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          56 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          143 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          160 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          96 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          276 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Working...
          X