Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

position display indicator

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

    position display indicator


    i am using position display indicator on MNQ chart and it wont work. any help is appriciated.
    This indicator provides a customizable text box which displays a position’s UnRealized PnL, Realized PnL of a selected account, and the overall cash value of the account.

    Also i wanna add excess intraday margin to it, is it possible?

    #2
    i also tried this one and it wont work as well. PriceInfo Indicator


    https://ninjatraderecosystem.com/use...nfo-indicator/

    Comment


      #3
      Originally posted by rapals View Post
      i also tried this one and it wont work as well. PriceInfo Indicator


      https://ninjatraderecosystem.com/use...nfo-indicator/
      This PriceInfo indicator is really old. It is now part of a collection of indicators call ZombiePack9. See attachment. Reach out to me if you have any questions.
      Attached Files
      Last edited by RFrosty; 05-04-2023, 05:26 PM.

      Comment


        #4
        RFrosty
        hi,
        I tried to message you directly but because i am very new its not allowed. can you please help me. i just want to see my excess intraday margin directly on the chart. it happened few times that my control window went away and my position was closed. Thanks a ton in advance.

        Comment


          #5
          Originally posted by rapals View Post
          RFrosty
          hi,
          I tried to message you directly but because i am very new its not allowed. can you please help me. i just want to see my excess intraday margin directly on the chart. it happened few times that my control window went away and my position was closed. Thanks a ton in advance.
          No worries. I have attached the ZombiePack9 NinjaScript addon zip. It contains an updated PriceInfo indicator that shows the excess margin while in a trade in the bottom left corner.


          The excess intraday margin code looks like this...

          private double GetAccountIntradayExcessMargin()
          {
          double intradayExcessMargin = 0;

          if (account != null)
          {
          intradayExcessMargin = Math.Round(account.Get(AccountItem.ExcessIntradayM argin, Currency.UsDollar), 2);
          }

          return intradayExcessMargin;
          }​
          Last edited by RFrosty; 05-04-2023, 05:43 PM.

          Comment


            #6
            Thanks RFrosty
            it works for my needs so far. will play with code more.

            Comment


              #7
              Hi! I have found NinjaTrader_Jim's indicator PositionDisplayIndicator (on Ecosystem) very helpful, but every time I flip connection between my Apex Trader Funding Rithmic account and my live AMP account, I have to update the indicator to reselect the account to use. Could you please create a version of the indicator that drives the account selection in the indicator from the account selected in the chart automatically?

              Comment


                #8
                Hello vickisb,

                The intention of the Account being selected in the indicator parameters instead of chart trader is so that the indicator can function if chart trader is disabled.

                Using the account selector of chart trader would mean this must be enabled before the indicator is added to the chart or the indicator will not function.

                As this puts a limit on how the indicator can be used, instead of making the change to the script on the User App Share I can provide you information on making this change to a local copy of the script on your machine.

                Below is a link to a guide on using AutomationIDs to retrieve chart trader UI elements.


                As well as a link to an example with sample code of getting the chart trader account selector and setting the local account variable to the selected account.

                Chelsea B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                556 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                324 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
                545 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                547 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X