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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        111 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        156 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        76 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X