Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Long and Short position at the same time?

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

    Long and Short position at the same time?

    Is it possible to keep a long position open when an EnterShort is called? similarly when an EnterLong is called can I keep the short position?

    In addition, can I have multiple long/short positions?
    if so how do I close them individually?

    All of it is on the same chart/index.

    (I just need info on how to do it, not if its a bad idea)

    Any help is greatly appreciated

    #2
    Hello mrtheman11,

    Thanks for your post and welcome to the forums!

    No, the EnterLong() and EnterShort() will automatically close an opposite position.

    In the instrument you can have multiple strategy positions however, you would have to use the "unmanaged" approach where you would assume full responsibility for managing the trades. Please see: http://ninjatrader.com/support/helpG...d_approach.htm
    Please note that while you can have multiple positions, your account position will only be long, or short or flat, period.

    Also, please review these related links:

    http://ninjatrader.com/support/helpG..._account_p.htm

    http://ninjatrader.com/support/helpG..._positions.htm
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello,
      Instead of using unmanged positions, is it posible to use two scripts attached to the same chart?, one doing all the long trades and the other doing all the short trades?

      Thanks

      Comment


        #4
        Hello Thinkfx,

        Thank you for your reply.

        Having multiple strategies running on the same instrument/account combination is highly discouraged. This is due to the fact that strategies are not aware of each other and running multiple strategies will usually cause issues with your account position.

        For example, if you have two strategies running and one is in a 4 long position; if the other takes a 4 short position, both strategies will show profits/losses, but your account position would effectively be flat and you'd not be in any position at all.

        We would recommend that if you are using multiple strategies on the same instrument that you run them using different accounts as that would be the only reliable way to keep the strategies in sync with the account position.

        You may find further information regarding this on the following forum thread:

        https://ninjatrader.com/support/foru...act#post792660

        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NeverDownMoney, Today, 02:32 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_Tyler  
        Started by ErikY, Today, 02:14 PM
        0 responses
        7 views
        0 likes
        Last Post ErikY
        by ErikY
         
        Started by redart1021, Today, 01:14 PM
        2 responses
        10 views
        0 likes
        Last Post redart1021  
        Started by auto112112, Today, 12:36 PM
        3 responses
        12 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by UltraNIX, Today, 11:03 AM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Working...
        X