• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot PNL for the day over time

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

    Plot PNL for the day over time

    Hi i want to make an indicator that shows my trades PNL over time so I can see the results visually along with price movement, how do i do that? It is not part of a strategy. I want to take the data that is in the account performance tab and plot it along with the that instrument to see my results on the chart. Im looking for things like the number of contracts currently held at that time and the number of points or ticks i've made up to that point.

    When i try to access the performance object it gives me an error that says Performance it is not available in. I'm looking for something similar to the data in plot executions that I can select by right clicking the chart => data series => plot executions.

    #2
    Hello Habibalex,

    Thank you for your note.

    You would not be able to do this as the Account Performance is only an internal accessed item, you cannot access the Account from the NinjaScript Indicator or Strategy.

    Additionally, the Performance that you are trying to use is only for Strategies and to the Strategy performance, not the account.

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      how are the pink and blue arrows accessed by ninjatrader on the chart when I go to trades and plot executions? surely there is a simple function call in the ninjatrader that is being used, this would really be a great help if this was exposed.

      Comment


        #4
        Hello habibalex,

        Thank you for your response.

        Unfortunately, I am not aware of the unsupported means to achieve this.
        Patrick H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by dukeoferl, Today, 03:26 AM
        0 responses
        1 view
        0 likes
        Last Post dukeoferl  
        Started by Titelluvifa, Today, 02:49 AM
        0 responses
        2 views
        0 likes
        Last Post Titelluvifa  
        Started by rehagen, Today, 01:44 AM
        0 responses
        2 views
        0 likes
        Last Post rehagen
        by rehagen
         
        Started by bouncetherubble, Yesterday, 07:33 PM
        0 responses
        7 views
        0 likes
        Last Post bouncetherubble  
        Started by gmachine, Yesterday, 07:15 PM
        0 responses
        7 views
        0 likes
        Last Post gmachine  
        Working...
        X