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

no position size in some overloads

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

    no position size in some overloads

    In some order options, for example ExitLongStop(), some of the overloads do not have an option for position size. What happens if no position size is entered as an overload? Does it simply exit the full position that was used in the EnterLongStop()?

    #2
    Hello Jg123,

    Thank you for your note.

    Yes, if no contract size is entered for the overload it will exit all the open positions for that direction.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Oh okay. All the open positions. That is good to know.

      will it be all the open positions that were opened via that strategy, or does this also include positions that were entered via another strategy and/or positions that were entered manually directly into the TWS or NT without the assistance of an automated strategy?

      Comment


        #4
        Jg123,

        You have say 11 long positions for the strategy open and you submit ExitLongStop()

        That order will be for 11 contracts to close out the strategy's positions and nothing else.
        Last edited by NinjaTrader_CalH; 06-27-2014, 10:06 AM.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          okay, regardless of how each contract was opened. right?

          Comment


            #6
            Jg123,

            No, this will be kept towards the running strategy's positions and not close out any other positions.
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by andrewtrades, Today, 04:57 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by chbruno, Today, 04:10 PM
            0 responses
            3 views
            0 likes
            Last Post chbruno
            by chbruno
             
            Started by josh18955, 03-25-2023, 11:16 AM
            6 responses
            436 views
            0 likes
            Last Post Delerium  
            Started by FAQtrader, Today, 03:35 PM
            0 responses
            7 views
            0 likes
            Last Post FAQtrader  
            Started by rocketman7, Today, 09:41 AM
            5 responses
            19 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X