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 algospoke, Yesterday, 06:40 PM
            2 responses
            19 views
            0 likes
            Last Post algospoke  
            Started by ghoul, Today, 06:02 PM
            3 responses
            14 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by jeronymite, 04-12-2024, 04:26 PM
            3 responses
            45 views
            0 likes
            Last Post jeronymite  
            Started by Barry Milan, Yesterday, 10:35 PM
            7 responses
            20 views
            0 likes
            Last Post NinjaTrader_Manfred  
            Started by AttiM, 02-14-2024, 05:20 PM
            10 responses
            181 views
            0 likes
            Last Post jeronymite  
            Working...
            X