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

Short didn't enter

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

    Short didn't enter

    Hello. There is an LONG position, that still exist. Strategy generated SHORT order, that could be executed few days after LONG closed. But SHORT didn't enter. Why?
    Click image for larger version

Name:	short entry.PNG
Views:	1
Size:	10.5 KB
ID:	900679

    #2
    Hello alexstox,

    Thank you for your post.

    What is the condition in your strategy to enter short? Do you see any errors in the log tab of the NinjaTrader Control Center when the order should have been generated?

    Comment


      #3
      Error in log tab: An Enter() method to submit an entry order ..... has been ignored. Please search on the term "Internal Order Handling Rules" in the Help Guide for detailed explanation"
      I have read this before. As I understood, while we LONG script can't go SHORT. But in my case we LONG and only order for SHORT. SHORT entry should occur few days after LONG exit.

      Comment


        #4
        Guys? Help!

        Comment


          #5
          Hello alexstox,

          Thank you for your response.

          You are likely running into the following rule; methods that generate orders to enter a position will be ignored if a position is open and an order submitted by an exit method (ExitLongLimit() for example) is active and the order is used to open a position in the opposite direction. You can find the internal order handing rules at the following link: http://www.ninjatrader.com/support/h...d_approach.htm

          Please let me know if you have any questions.

          Comment


            #6
            I've read this. But only now understood carefully =))
            There is LONG and existing ExitLongStop as stoploss, that's why SHORT entry order couldn't enter? Is it right?

            Comment


              #7
              Correct - the exit order would need to be closed before you could submit a new entry order.
              MatthewNinjaTrader Product Management

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by alifarahani, Today, 09:40 AM
              6 responses
              36 views
              0 likes
              Last Post alifarahani  
              Started by Waxavi, Today, 02:10 AM
              1 response
              17 views
              0 likes
              Last Post NinjaTrader_LuisH  
              Started by Kaledus, Today, 01:29 PM
              5 responses
              14 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by Waxavi, Today, 02:00 AM
              1 response
              12 views
              0 likes
              Last Post NinjaTrader_LuisH  
              Started by gentlebenthebear, Today, 01:30 AM
              3 responses
              17 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X