Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trades list

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

    Trades list

    Hi!
    I tryes to make an indicator to listing the active trades.

    I try use
    Code:
    Performance.AllTrades...
    in indicator, but I allways recive errors. It is possible to list active trade on the chart?

    Could someone help with those problem?

    BR
    Tig3r

    #2
    Hello Tig3r,

    Welcome to our forums.

    Accessing trade information isn't possible within an indicator. It's only possible in a strategy and you'll have to expand Performance.AllTrades to display the specific information you're looking for. Something like:
    Code:
     
    Print(Performance.AllTrades.TradesPerformance.GrossProfit);
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_RyanM View Post
      Hello Tig3r,
      Accessing trade information isn't possible within an indicator. It's only possible in a strategy and you'll have to expand Performance.AllTrades to display the specific information you're looking for. Something like:
      Code:
       
      Print(Performance.AllTrades.TradesPerformance.GrossProfit);
      It's very bad information :/

      It its possible in this case make a strategy managing advisor like this:
      - works on all trades (manual trades and all strategy trades) - like close all trades when DD >=10%
      - checking condition on open trade (or befor open) - compare to some indicators in many Time Frames

      Comment


        #4
        Hello tig3r,

        The only trade information that you can access here is the trades that are generated by the strategy.

        works on all trades (manual trades and all strategy trades) - like close all trades when DD >=10%
        The above is not possible because information is not available outside of the strategy that generated it.

        checking condition on open trade (or befor open) - compare to some indicators in many Time Frames
        You can access indicators in multiple time frames:
        Ryan M.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        574 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        332 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        553 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        551 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X