Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enter Market Orders without Rejection

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

    Enter Market Orders without Rejection

    Hello,
    What is the best way to submit a market order without eventually getting rejected? EnterLong() and EnterShort() is prone to rejection.

    Also, I found that using EnterLongLimit(GetCurrentBid()) or EnterLongLimit(GetCurrentAsk()) and exiting the limit order at either the bid or the ask, ignores the condition for order exit. Instead, it exits on the SAME bar as entry, resulting in very different results on strategy testing than EnterLong()...why is this?

    Thanks, Yemi
    Last edited by aaadetos; 04-14-2015, 06:18 PM.

    #2
    What rejection are you seeing with EnterLong() and EnterShort()?

    In live, sim, replay, strategy analyzer? Which equity?

    I've never had a problem in live or in market replay with EnterLong/EnterShort with ES contract.

    I did have a Live chart trader BuyMarket button rejected once during some fast 8:30am news.

    Comment


      #3
      EnterLong() and EnterShort() works fine in the strategy analyzer, then encounters buy stop orders below the market and sell stop orders above the market on live testing (both with sim accounts). The LongLimit orders enter and exit on the same bar in strategy testing, and in live, just don't follow the conditions for the exitlonglimit...

      Comment


        #4
        This happens with Renko and Range charts.

        Comment


          #5
          Hello aaadetos,

          Thanks for your posts.

          What instrument(s) are you working with?

          Can you provide a sample of the coding you are using to place orders along with what orders you are placing for target and stops? Can you provide a screenshot to help illustrate the trade issues?

          If you would prefer you are welcome to send the code into platformSupport[at]Ninjatrader[dot]Com, atten: Paul and a reference to this thread.

          Comment


            #6
            Thanks Paul. Sorry I hadn't updated this.
            It turns out that I had a tight stop loss in place that needed to be disabled, if I wanted my Exit Conditions to be used. It turns out that each time the tight stop was encountered I was taken out, regardless of those exit conditions.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            72 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            44 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            26 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            31 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            61 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X