Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Outputting account #

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

    Outputting account #

    Hello-

    Not sure why I can't find this but where is the account # accessed, so that I can insert it into a message to the output window? I thought that perhaps Positions[BarsInProgress].Account would do it, but that outputs "Ninjatrader.Cbi.Account".

    Thanks in advance!

    EDIT - Never mind, I figure it out. Positions[BarsInProgress].Account.Name.
    Last edited by cgeorgan; 10-03-2016, 09:08 AM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by AveryFlynn, 04-25-2024, 04:57 AM
2 responses
17 views
0 likes
Last Post RogerHall  
Started by NJA_MC, 01-03-2021, 10:34 PM
12 responses
158 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by ageeholdings, Today, 05:22 AM
1 response
12 views
0 likes
Last Post NinjaTrader_Gaby  
Started by PaulMohn, Yesterday, 02:06 AM
4 responses
16 views
0 likes
Last Post NinjaTrader_ChelseaB  
Started by kujista, 04-22-2024, 07:46 AM
4 responses
17 views
0 likes
Last Post NinjaTrader_ChelseaB  
Working...
X