Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Account Number with Ninjatrader 7

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

    Account Number with Ninjatrader 7

    How can I acceso to the account number from my strategies? Before I have used Account.Name but now it doesn't work.

    #2
    soyjesus, what issues do you see and where do you try to use it? Account.Name should give you the account the strategy is working on.

    Comment


      #3
      I'm using inside my strategies (by code, not ATM). And when I use Account.Name I get the message "You need a reference from object for Ninjatrader.Cbi.AccountItem.Name.get.

      Comment


        #4
        Sorry, I were using Account.Name with an indicator and not with a strategy.

        Ups...

        Sorry!

        Comment


          #5
          Oh ok, so from a strategy works ok for you then?

          Comment


            #6
            Yes Bertrand, it works perfectly.

            Thanks and regards.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            563 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            329 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X