Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

PnL Display Unit and percentage of equity

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

    PnL Display Unit and percentage of equity

    I would like to see PnL displayed on the chart as a percentage of account equity. It seems that the current options are currency, points, percentage (price change/entry price). I searched the user guide and the forum and have not found out how to do this. Is there a way? Either out of the box or through custom programming?

    Thanks.

    #2
    Hi OneTrader,

    Thank you for your post.

    While it would not be supported to do so, it may be possible with custom logic.

    Below is an unsupported tidbit that may assist you in polling your account size.

    foreach (Account acct in Cbi.Globals.Accounts)
    {
    if (acct.Positions != null)
    {
    Print(acct.ToString());
    }
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea. Is there a way to calculate it outside of the chart but within Ninja? If that does not work then I can dig around and find a way to do it in excel.

      Comment


        #4
        Hi OneTrader,

        To run this, you will need to run it in a Market Analyzer or code into a strategy to run from the Strategies tab of the Control Center.

        The script will have to be run somewhere.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        144 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X