Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to know the result of last trade?

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

    How to know the result of last trade?

    Hello,

    How can I know the result of the last trade (profits, if it was long or short, etc).

    Thank you.

    #2
    soyjesus, you could access trade performance information for all or realtime taken trades via the Performance class in NinjaScript - http://www.ninjatrader-support.com/H...rformance.html

    Comment


      #3
      Ok, thank you but is there any function that say if the last trade was short or long?

      Comment


        #4
        You would need to access this info the IExecution object in the Performance / Trade Class - http://www.ninjatrader-support.com/H...radeClass.html

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        65 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        41 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        23 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        26 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        52 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X