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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        89 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        92 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        70 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        87 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        64 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X