Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 Segwin, 05-07-2018, 02:15 PM
          14 responses
          1,789 views
          0 likes
          Last Post aligator  
          Started by Jimmyk, 01-26-2018, 05:19 AM
          6 responses
          837 views
          0 likes
          Last Post emuns
          by emuns
           
          Started by jxs_xrj, 01-12-2020, 09:49 AM
          6 responses
          3,293 views
          1 like
          Last Post jgualdronc  
          Started by Touch-Ups, Today, 10:36 AM
          0 responses
          13 views
          0 likes
          Last Post Touch-Ups  
          Started by geddyisodin, 04-25-2024, 05:20 AM
          11 responses
          63 views
          0 likes
          Last Post halgo_boulder  
          Working...
          X