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 Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          578 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          334 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          551 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X