• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Position size and way

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

    Position size and way

    Hello,

    Is there a key word that retrieves the position size and way of the active chart ? Like "3" as in long 3 lots or "-2" as in short 2 lots

    Thank you

    #2
    SARdynamite, would that be for a strategy you have running on that chart?

    As the Position object would allow access for the individual strategy related items -

    http://www.ninjatrader.com/support/h.../iposition.htm
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,

      This is aimed for an indicator, not a strategy..

      Comment


        #4
        Thanks for the clarification, there's no supported property for that task from a NinjaScript indicator, however you may check into for an advanced snippet- http://www.ninjatrader.com/support/f...ad.php?t=55932

        We plan to extend support in this area with our next major platform update.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bosajin, Yesterday, 06:27 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by stefanrvc, Today, 04:59 AM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by 7robert, Yesterday, 08:30 PM
        2 responses
        16 views
        0 likes
        Last Post NinjaTrader_Marco  
        Started by pjsmith, Today, 01:13 AM
        1 response
        16 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Started by yukashg, Yesterday, 09:56 PM
        1 response
        16 views
        0 likes
        Last Post NinjaTrader_ChrisSch  
        Working...
        X