Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position size for individual signals

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

    Position size for individual signals

    Is it possible to check position size for individual signals?

    Say I want to go long 3 contracts
    EnterLong(Default Quantity, "Long A")
    EnterLong(Default Quantity, "Long B")
    EnterLong(Default Quantity, "Long C")

    and I set profit targets of say 1 tick, 2 and 3 respectively...

    assume that A gets filled and B and C are open, is it possible to go Long another A contract?

    same thing... A and B get filled, then I want to go long another A and B

    possible? if so, how?

    #2
    Hi BigDog008, I think this is possible working with the EntriesPerDirection setting, given your entry condition is still true it would then enter another trade until your EntriesPerDirection setting is reached - http://www.ninjatrader-support.com/H...Direction.html

    Comment


      #3
      Bertrand,

      I don't see how this would allow the strategy to check if

      Contract B is Long
      Contract C is Long
      and Contract A is Flat

      then initiate a Long position in Contract A

      essentially is it possible to treat the individual contracts A, B, C as individual entities?

      Comment


        #4
        BigDog008,

        To get that kind of information would require you to use IOrders. Then you can check the IOrder for the individual fill amounts of each of your orders.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Josh,

          I'm a bit confused... are you saying that by using IOrder, I can create and reference various order positions? say A, B, C and go long or short accordingly?

          Comment


            #6
            Sorry for the confusion BigDog008 - yes with IOrders you can directly check the fill states and quantities of the associated orders - http://www.ninjatrader-support.com/H...V6/IOrder.html

            Here's also a reference sample on this - http://www.ninjatrader-support2.com/...ead.php?t=7499

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            66 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            149 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            162 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            99 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            286 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X