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 giulyko00, Today, 12:03 PM
1 response
4 views
0 likes
Last Post NinjaTrader_BrandonH  
Started by f.saeidi, Today, 12:14 PM
1 response
4 views
0 likes
Last Post NinjaTrader_Gaby  
Started by aprilfool, 12-03-2022, 03:01 PM
2 responses
327 views
0 likes
Last Post BottomShark77  
Started by AnnBarnes, Today, 12:17 PM
1 response
2 views
0 likes
Last Post NinjaTrader_Zachary  
Started by Lopat, 03-05-2023, 01:19 PM
4 responses
169 views
0 likes
Last Post Sam2515
by Sam2515
 
Working...
X