• 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 babouin77, Today, 12:41 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by punkiy2111, Today, 12:17 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Tabor  
        Started by GLFX005, Today, 11:22 AM
        2 responses
        22 views
        0 likes
        Last Post GLFX005
        by GLFX005
         
        Started by mintxom, Today, 10:25 AM
        1 response
        11 views
        0 likes
        Last Post NinjaTrader_Melissa  
        Started by Matts7, Today, 08:27 AM
        5 responses
        42 views
        0 likes
        Last Post Matts7
        by Matts7
         
        Working...
        X