Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Indicator GetAccountValue equivalent

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

    Indicator GetAccountValue equivalent

    What is the Indicator equivalent of
    Code:
    double dProfit = GetAccountValue(AccountItem.RealizedProfitLoss);
    I can't seem to find it.

    Thanks

    #2
    Hello TiggerTrader,

    Thank you for your post.

    There are supported methods to access the account information from an indicator. Indicators are not assigned to any specific account and thus have no methods or functions for the account.
    Last edited by NinjaTrader_PatrickH; 09-25-2014, 05:35 PM.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Indicators are assigned to any specific account and thus have no methods or functions for the account.
      Not sure what that means.

      Anyway, let's ask a more direct question. What ARE the
      supported methods to access the account information from an indicator
      ?

      Comment


        #4
        Hello TiggerTrader,

        That was my typo in the last response.

        The correct answer is that the indicators are not assigned to any account and thus have NO methods or functions to access information from the account. The indicators cannot access account information.

        Comment


          #5
          Bummer. Can you sneak that functionality in before the next release?

          Comment


            #6
            TiggerTrader, there are no planned changes in this regard to the current releases. However we do have extended support for account access on our lists for the next major update of the platform.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by judysamnt7, 03-13-2023, 09:11 AM
            4 responses
            55 views
            0 likes
            Last Post DynamicTest  
            Started by ScottWalsh, Today, 06:52 PM
            4 responses
            35 views
            0 likes
            Last Post ScottWalsh  
            Started by olisav57, Today, 07:39 PM
            0 responses
            7 views
            0 likes
            Last Post olisav57  
            Started by trilliantrader, Today, 03:01 PM
            2 responses
            19 views
            0 likes
            Last Post helpwanted  
            Started by cre8able, Today, 07:24 PM
            0 responses
            7 views
            0 likes
            Last Post cre8able  
            Working...
            X