Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to stop buy to cover

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

    How to stop buy to cover

    Is there a way to avoid buy to cover in automated trading?

    #2
    Welcome to the NT forums, you mean when the script would reverse through the managed mode Enter() methods?

    Comment


      #3
      When the "exit short" signal coincides with the "enter long" signal it generates two orders in long one of which is called "buy to cover" I wish that it would not be generated or at least come close automatically immediately after its opening

      Comment


        #4
        Hello Radagast,

        Thank you for your response.

        If you are short and an EnterLong() method is called it will send two orders; one to close the short position and one to enter long.

        You may wish to use Unmanaged orders to avoid this: http://www.ninjatrader.com/support/h...d_approach.htm

        Please let me know if you have any questions.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        80 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        45 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X