Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to get the balance of my last trade closed in NT8 strategy builder?

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

    How to get the balance of my last trade closed in NT8 strategy builder?

    Hello.
    I need to know if my last trade closed was profitable or not.
    How can i get that info in strategy builder NT8?

    #2
    Hi fscabrera03,
    Please see this thread here. Was posted in the NT7 section, but the principle is still applicable.
    https://ninjatrader.com/support/foru...-losing-trades
    NT-Roland

    Comment


      #3
      Thank you bro

      Comment


        #4
        Hello fscabrera03,

        Welcome to the NinjaTrader forums!

        NT-Roland, thanks for providing the link to information.

        The SystemPerformance.AllTrades is a Trades collection will contain information about closed trades.

        The <Trade>.Currency is a property with the pnl of that trade.

        For example:
        Code:
        Print(SystemPerformance.AllTrades[SystemPerformance.AllTrades.Count -  1].Currency);
        Below are direct links to the help guide.
        https://ninjatrader.com/support/help.../alltrades.htm
        https://ninjatrader.com/support/help...8/currency.htm
        https://ninjatrader.com/support/help...nce_statis.htm
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by localappleseed, Today, 09:51 AM
        0 responses
        3 views
        0 likes
        Last Post localappleseed  
        Started by wehewwehd, Today, 09:13 AM
        0 responses
        4 views
        0 likes
        Last Post wehewwehd  
        Started by aaajv, Yesterday, 06:45 AM
        3 responses
        21 views
        0 likes
        Last Post NinjaTrader_ThomasC  
        Started by asmmbillah, Today, 08:13 AM
        0 responses
        4 views
        0 likes
        Last Post asmmbillah  
        Started by Bionian, Today, 07:07 AM
        2 responses
        7 views
        0 likes
        Last Post Bionian
        by Bionian
         
        Working...
        X