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 ZenCortexAuCost, Today, 04:24 AM
        0 responses
        5 views
        0 likes
        Last Post ZenCortexAuCost  
        Started by ZenCortexAuCost, Today, 04:22 AM
        0 responses
        2 views
        0 likes
        Last Post ZenCortexAuCost  
        Started by SantoshXX, Today, 03:09 AM
        0 responses
        15 views
        0 likes
        Last Post SantoshXX  
        Started by DanielTynera, Today, 01:14 AM
        0 responses
        3 views
        0 likes
        Last Post DanielTynera  
        Started by yertle, 04-18-2024, 08:38 AM
        9 responses
        42 views
        0 likes
        Last Post yertle
        by yertle
         
        Working...
        X